File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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

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
 
jQuery in Action, 2nd edition
 
subject: Not enough arguments (2) passed to external.gwtOnLoad(), expected (3); your hosted mode bootstrap...
 
Similar Threads
GWT2.0 released
GWT Dev mode Changes in the Java class is not reflecting when refresh the browser
Debugging GWT app running on external container
problem with DateField
Forcing SSL but not in web.xml -- how?