• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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

 
author and cow tipper
Posts: 5000
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
 
Proudly marching to the beat of a different kettle of fish... while reading this tiny ad
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!