I got a problem with the last stable GWT Designer:
I use Eclipse 3.3 with GWT 1.5.2 and maven2 + gwt-maven plugin with m2Eclipse.
Here is my error :
An internal error occurred during: "Launching HabilitationLoginUI".
org.apache.commons.lang.exception.NestableError: Can not open file |H:\repo\com\google\gwt\gwt-user\1.5.2\gwt-dev-windows.jar|
Here is a part of my pom.xml:
- Code: Select all
<!-- GWT deps (from central repo) -->
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
<version>${gwtVersion}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>${gwtVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>${gwtVersion}</version>
<classifier>${platform}-libs</classifier>
<type>zip</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>${gwtVersion}</version>
<classifier>${platform}</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.gwtext</groupId>
<artifactId>gwtext</artifactId>
<version>2.0.5</version>
</dependency>
${gwtVersion}=1.5.2
${platform}=windows
I think that the plugin (GWT Designer) uses the classpath GWT jars to find some jars dependencies... ???
When i changed my dependencies to use my GWT Home to find jars, this fix the problem but i can't accept this solution.
Here is my fix, I changed the code above with this one:
- Code: Select all
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
<version>${gwtVersion}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>${gwtVersion}</version>
<scope>system</scope>
<systemPath>H:/gwt-windows-1.5.2/gwt-user.jar</systemPath>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>${gwtVersion}</version>
<classifier>${platform}</classifier>
<scope>system</scope>
<systemPath>
H:/gwt-windows-1.5.2/gwt-dev-${platform}.jar
</systemPath>
</dependency>
<dependency>
<groupId>com.gwtext</groupId>
<artifactId>gwtext</artifactId>
<version>2.0.5</version>
</dependency>
Any ideas ?
Thanks a lot !