Re: Super Dev Mode 2.6 : NoClassDefFoundError
After test, I can't deploy 2.6.0-1-SNAPSHOT to my repo (much error...) So I create a little project maven gwt 2.6.0 using : mvn gwt:run-codeserver there is error : NoClassDefFoundError So I try mvn process-classes gwt:run-codeserver and it's work ! Next, visit: http://localhost:9876/ I have now the message Can't find any GWT Modules on this page. Yet, I have add this in ...gwt.xml : add-linker name=xsiframe / set-configuration-property name=devModeRedirectEnabled value=true / set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/ and execute mvn verify How to debug this last problem ??? -- 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.
Super Dev Mode 2.6 : NoClassDefFoundError
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 -- modelVersion4.0.0/modelVersion groupIdfr.sigal.web/groupId artifactIdsigalindexing/artifactId packagingwar/packaging version0.0.1-SNAPSHOT/version nameGWT Maven Archetype/name properties !-- Convenience property to set the GWT version -- gwtVersion2.6.0/gwtVersion !-- GWT needs at least java 1.5 -- webappDirectory${project.build.directory}/${project.build.finalName}/webappDirectory project.build.sourceEncodingUTF-8/project.build.sourceEncoding /properties dependencies dependency groupIdcom.google.gwt/groupId artifactIdgwt-servlet/artifactId version${gwtVersion}/version scoperuntime/scope /dependency dependency groupIdcom.google.gwt/groupId artifactIdgwt-user/artifactId version${gwtVersion}/version scopeprovided/scope /dependency dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.7/version scopetest/scope /dependency dependency groupIdjavax.validation/groupId artifactIdvalidation-api/artifactId version1.0.0.GA/version scopetest/scope /dependency dependency groupIdjavax.validation/groupId artifactIdvalidation-api/artifactId version1.0.0.GA/version classifiersources/classifier scopetest/scope /dependency dependency groupIdfr.sigal.web/groupId artifactIdsigal-tools-gwt/artifactId version0.0.1-SNAPSHOT/version /dependency dependency groupIdfr.sigal.web/groupId artifactIdsigal-desktop-smart/artifactId version1.0/version /dependency !-- dependency groupIdcom.smartgwt/groupId artifactIdsmartgwt/artifactId version4.0/version /dependency -- dependency groupIdorg.apache.solr/groupId artifactIdsolr-solrj/artifactId version4.6.0/version /dependency dependency groupIdorg.slf4j/groupId artifactIdslf4j-api/artifactId version1.6.4/version /dependency dependency groupIdorg.slf4j/groupId artifactIdjcl-over-slf4j/artifactId version1.6.4/version /dependency dependency groupIdorg.jsoup/groupId artifactIdjsoup/artifactId version0.2.2/version /dependency dependency groupIdorg.glassfish/groupId artifactIdjavax.ejb/artifactId version3.1/version scopeprovided/scope /dependency dependency groupIdjavax/groupId artifactIdjavaee-api/artifactId version6.0/version scopeprovided/scope /dependency dependency groupIdjavax.mail/groupId artifactIdmail/artifactId version1.4.7/version !-- version1.5.0-b01/version -- /dependency dependency groupIdfr.sigal.web/groupId artifactIdsigal-tools-jee/artifactId version17.1-SNAPSHOT/version /dependency dependency groupIdorg.apache.tika/groupId artifactIdtika-core/artifactId version1.4/version /dependency /dependencies build !-- Generate compiled stuff
Re: Super Dev Mode 2.6 : NoClassDefFoundError
On Monday, March 17, 2014 4:19:21 PM UTC+1, Philippe Pithon wrote: 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 You might be running into a weird bug we have in gwt-maven-plugin 2.6.0 (fixed in master, will be in 2.6.1). Try using mvn process-classes gwt:run-codeserver. -- 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.
Re: Super Dev Mode 2.6 : NoClassDefFoundError
I tried your solution but same problem... Le lundi 17 mars 2014 16:33:09 UTC+1, Thomas Broyer a écrit : On Monday, March 17, 2014 4:19:21 PM UTC+1, Philippe Pithon wrote: 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 You might be running into a weird bug we have in gwt-maven-plugin 2.6.0 (fixed in master, will be in 2.6.1). Try using mvn process-classes gwt:run-codeserver. -- 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.
Re: Super Dev Mode 2.6 : NoClassDefFoundError
If kind of everything fails you could clone https://github.com/gwt-maven-plugin/gwt-maven-plugin to locally install and use version 2.6.0-1-SNAPSHOT of the plugin in order to get going. It really works quite smooth, though I had to skip tests because of a breaking API change in one of the contributing plugins. Give it a try. I did this myself in order to try out SDM. 2014-03-17 18:04 GMT+01:00 Philippe Pithon pithon.philippe@gmail.com: I tried your solution but same problem... Le lundi 17 mars 2014 16:33:09 UTC+1, Thomas Broyer a écrit : On Monday, March 17, 2014 4:19:21 PM UTC+1, Philippe Pithon wrote: 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 You might be running into a weird bug we have in gwt-maven-plugin 2.6.0 (fixed in master, will be in 2.6.1). Try using mvn process-classes gwt:run-codeserver. -- 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. -- 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.