[
http://jira.codehaus.org/browse/MGWT-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=191105#action_191105
]
Stephen commented on MGWT-70:
-----------------------------
I am getting the same error message as above when running grails from the
command line. The environment should be identical when I run "run-gwt-client"
as when I run "clean/compile/run-app", so I don't think it is possible that it
would be compiled with one version of GWT and then run with another. Should I
be looking for old files under web-app or could it still be an environment
problem?
Environment: OS Windows, Grails 1.1.1, GWT 1.7, Grails-GWT Plugin 0.4.1
> Invalid version number "1.5" passed to external.gwtOnLoad(), expected "1.6"
> ---------------------------------------------------------------------------
>
> Key: MGWT-70
> URL: http://jira.codehaus.org/browse/MGWT-70
> Project: Maven 2.x GWT Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Eclipse Ganymede + m2eclipse + GWT 1.6.4
> Reporter: José Santa Elena
>
> I tried to execute the hosted mode with -noserver.
> What I did:
> - Compile with gwt:compile with
> <output>${project.build.directory}/${project.build.finalName}</output>
> - Run jetty:run-exploded with
> <webApp>${project.build.directory}/${project.build.finalName}.war
> - Start Eclipse Lauch Configuration calling HostedMode -noserver -startupUrl
> http://localhost:8080/myapp/main.html com.myapp.MyApp
> Then I'm getting:
> Invalid version number "1.5" passed to external.gwtOnLoad(), expected
> "1.6"; your hosted mode bootstrap file may be out of date; if you are
> using -noserver try recompiling and redeploying your app
> If I create a new Eclipse Launch Configuration pointing to GWT 1.5.3 jars,
> calling GWTShell, it works.
> My POM:
> <dependencies>
> <dependency>
> <groupId>com.google.gwt</groupId>
> <artifactId>gwt-servlet</artifactId>
> <version>1.6.4</version>
> <scope>runtime</scope>
> </dependency>
> <dependency>
> <groupId>com.google.gwt</groupId>
> <artifactId>gwt-user</artifactId>
> <version>1.6.4</version>
> <scope>compile</scope>
> </dependency>
> </dependencies>
> Maybe maven-gwt is using GWT 1.5 to generate files.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email