Can not open file gwt-dev-windows.jar

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Can not open file gwt-dev-windows.jar

Postby cyril.lakech » Fri Oct 24, 2008 8:42 am

Hi,

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 !
cyril.lakech
 
Posts: 19
Joined: Tue Aug 19, 2008 11:35 pm

Re: Can not open file gwt-dev-windows.jar

Postby Eric Clayberg » Fri Oct 24, 2008 8:46 am

This has already been addressed. See...

viewtopic.php?f=11&t=2209

Make sure that you are using the latest GWT Designer build.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests