Friday, September 30, 2011

Re: Module Load Failure with GWT 2.4.0 (but not with 2.3.0)

See this pom.xml and fow define gwt-maven-plugin.

PD: The gwt-user jar you must put in scope provided.


2011/9/30 K H <konrad@gmx.at>
I use GWT with Maven and with GWT 2.3.0, "mvn clean gwt:run" works without problems.
When I upgrade to GWT 2.4.0 however, I get an "Module Load Error" (see linked image).

The GWT Version is controled by the following excerpt from my pom.xml:

    <dependency>
            <groupId>com.google.gwt</groupId>
            <artifactId>gwt-servlet</artifactId>
            <version>${gwtVersion}</version>
        </dependency>
        <dependency>
            <groupId>com.google.gwt</groupId>
            <artifactId>gwt-user</artifactId>
            <version>${gwtVersion}</version>
            <scope>compile</scope>
        </dependency>

gwtVersion is defined as either "2.3.0" or "2.4.0".
How can I get rid of the error while still using an up-to-date GWT?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/vcVn_DsuzLEJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment