Hello,
As dev mode no longer works with firefox 27, I try to use Super Dev mode 
but....
Problem when I use command maven : gwt:run-codeserver

NoClassDefFoundError ! Ideas ???


[INFO] Caused by: java.lang.NoClassDefFoundError: 
fr.sigal.solrclientsmart.client.GreetingServiceAsync
[INFO] at 
com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeByBinary(UnifyAst.java:1009)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1074)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1126)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.access$900(UnifyAst.java:124)
[INFO] at 
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.visit(UnifyAst.java:365)
[INFO] at 
com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:241)
[INFO] at 
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[INFO] at 
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[INFO] ... 33 more
[INFO]       [ERROR] at solrclientsmart.java(56): 
Engine.getGreetingService().getStartParam(new solrclientsmart$2(this, 
false))
[INFO]          com.google.gwt.dev.jjs.ast.JMethodCall
[INFO]       [ERROR] at solrclientsmart.java(56): 
Engine.getGreetingService().getStartParam(new solrclientsmart$2(this, 
false))
[INFO]          com.google.gwt.dev.jjs.ast.JExpressionStatement
[INFO]       [ERROR] at solrclientsmart.java(22): {
[INFO]   GWT.setUncaughtExceptionHandler(new solrclientsmart$1(this));
[INFO]   Engine.getGreetingService().getStartParam(new 
solrclientsmart$2(this, false));
[INFO] }
[INFO]          com.google.gwt.dev.jjs.ast.JBlock
[INFO]       [ERROR] at solrclientsmart.java(22): {
[INFO]   GWT.setUncaughtExceptionHandler(new solrclientsmart$1(this));
[INFO]   Engine.getGreetingService().getStartParam(new 
solrclientsmart$2(this, false));
[INFO] }
[INFO]          com.google.gwt.dev.jjs.ast.JMethodBody
[INFO]       [ERROR] at solrclientsmart.java(22): public void 
onModuleLoad();
[INFO] 
[INFO]          com.google.gwt.dev.jjs.ast.JMethod
[INFO] [ERROR] Compiler returned false
[ERROR] com.google.gwt.core.ext.UnableToCompleteException: (see previous 
log entries)


-----------------

My pom.xml :



<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>

<!-- POM file generated with GWT webAppCreator -->
<modelVersion>4.0.0</modelVersion>
<groupId>fr.sigal.web</groupId>
<artifactId>sigalindexing</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<name>GWT Maven Archetype</name>


<properties>
<!-- Convenience property to set the GWT version -->
<gwtVersion>2.6.0</gwtVersion>
<!-- GWT needs at least java 1.5 -->
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

</properties>

<dependencies>
<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>junit</groupId>
<artifactId>junit</artifactId>
<version>4.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
<classifier>sources</classifier>
<scope>test</scope>
</dependency>

<dependency>
<groupId>fr.sigal.web</groupId>
<artifactId>sigal-tools-gwt</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>fr.sigal.web</groupId>
<artifactId>sigal-desktop-smart</artifactId>
<version>1.0</version>
</dependency>


<!-- <dependency> <groupId>com.smartgwt</groupId> 
<artifactId>smartgwt</artifactId> 
<version>4.0</version> </dependency> -->

<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-solrj</artifactId>
<version>4.6.0</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.4</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>1.6.4</version>
</dependency>

<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>0.2.2</version>
</dependency>

<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.ejb</artifactId>
<version>3.1</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>6.0</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4.7</version>
<!-- <version>1.5.0-b01</version> -->
</dependency>

<dependency>
<groupId>fr.sigal.web</groupId>
<artifactId>sigal-tools-jee</artifactId>
<version>17.1-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
<version>1.4</version>
</dependency>





</dependencies>

<build>
<!-- Generate compiled stuff in the folder used for developing mode -->
<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>


<plugins>

<!-- GWT Maven Plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>${gwtVersion}</version>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>${gwtVersion}</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>${gwtVersion}</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-codeserver</artifactId>
<version>${gwtVersion}</version>
</dependency>
</dependencies>
<!-- JS is only needed in the package phase, this speeds up testing -->
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>generateAsync</goal>
<goal>compile</goal>
<!-- <goal>test</goal> -->
<!-- <goal>i18n</goal> -->

</goals>
</execution>
</executions>
<!-- Plugin configuration. There are many available options, see 
gwt-maven-plugin 
documentation at codehaus.org -->
<configuration>
<runTarget>sigalindexing</runTarget>
<port>8080</port>
<extraJvmArgs>-Xms1300m -Xmx1300m -XX:MaxPermSize=200m</extraJvmArgs>
<hostedWebapp>${webappDirectory}</hostedWebapp>
<i18nMessagesBundle>fr.sigal.solrclientsmart.client.Messages</i18nMessagesBundle>
<inplace>true</inplace>


</configuration>
</plugin>

<!-- Copy static web files before executing gwt:run -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<executions>
<execution>
<!-- <phase>compile</phase> -->
<goals>
<goal>exploded</goal>
</goals>
</execution>
</executions>
<configuration>
<webappDirectory>${webappDirectory}</webappDirectory>
<warName>sigalindexing</warName>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ejb-plugin</artifactId>
<version>2.3</version>

<configuration>
<ejbVersion>3.1</ejbVersion>
<generateClient>false</generateClient>
</configuration>
</plugin>

 </plugins>
</build>


</project>



-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to