permaculture playing cards*
The moose likes GWT and the fly likes Not enough arguments (2) passed to external.gwtOnLoad(), expected (3); your hosted mode bootstrap... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Not enough arguments (2) passed to external.gwtOnLoad(), expected (3); your hosted mode bootstrap..." Watch "Not enough arguments (2) passed to external.gwtOnLoad(), expected (3); your hosted mode bootstrap..." New topic
Author

Not enough arguments (2) passed to external.gwtOnLoad(), expected (3); your hosted mode bootstrap...

Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

I'm getting the following error when I test my Google Web Toolkit (GWT) application from Eclipse. Everything was working fine, but then I started using some gwt-ext stuff, and even a little gwt-ext-uk stuff as well and when I run my file as a GWT Web Application in the hosted mode, I get the following error, and the program stops working:

Not enough arguments (2) passed to external.gwtOnLoad(), expected (3); your hosted mode bootstrap file may be out of date; if you are using -noserver try recompiling and redeploying your app


Now, here's the bizarre part. When I click the "Compile/Browse" button that forces a recompile and the application to run in the default browser of my computer, everything works just honkey-dory. So, it fails in the test environment, but works in a browser. Sorta defeats the purpose of the test environment, doesn't it?

Anyways, if anyone knows how to lick this problem, I'd love to hear it.

-Cameron McKenzie
 
GeeCON Prague 2014
 
subject: Not enough arguments (2) passed to external.gwtOnLoad(), expected (3); your hosted mode bootstrap...