Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic