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


Reply via email to