On Sat, May 7, 2011 at 6:15 AM, JosephLi <joseph.l...@gmail.com> wrote: > hi all, > > I am still getting some weird error in my project even after: > 1.) convert all references of --com.google.gwt.requestfactory.shared-- > TO --com.google.web.bindery.requestfactory.shared--.
... Hi Joseh, as David already pointed out there is a thread on the gwt-maven-plugin list covering the topic http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users/browse_thread/thread/5f6c9324a3119c30/2a69785036291ef0?#2a69785036291ef0 The configuration was a bit confusing to me as well, but I documented there what worked for me. I am pretty sure that it will work for you, too. Just search for my mail there and follow the three step process I describe. Best, Raphael > 2.) convert all references of --com.google.gwt.requestfactory.client-- > TO --com.google.web.bindery.requestfactory.gwt.client--. > 3.) update the pom.xml to up the GWT from 2.2.0 to 2.3.0. > 4.) update the pom.xml to update the gwt-maven-plugin version 2.1.0-1 > to 2.2.0 > 5.) update the pom.xml to include the newer gwt-user, gwt-dev & gwt- > servlet in the <dependencies> section within the gwt-maven-plugin. > > And below is the error msg: > [INFO] Validating newly compiled units > [INFO] [ERROR] Errors in 'jar:file:/C:/Users/Joseph/.m2/ > repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/ > google/gwt/editor/client/EditorDriver.java' > [INFO] [ERROR] Line 97: No source code is available for type > javax.validation.ConstraintViolation<T>; did you forget to inherit a > required module? > [INFO] [ERROR] Errors in 'jar:file:/C:/Users/Joseph/.m2/ > repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/ > google/gwt/editor/client/impl/BaseEditorDriver.java' > [INFO] [ERROR] Line 67: No source code is available for type > javax.validation.ConstraintViolation<T>; did you forget to inherit a > required module? > [INFO] [ERROR] Errors in 'jar:file:/C:/Users/Joseph/.m2/ > repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/ > google/gwt/editor/client/impl/SimpleViolation.java' > [INFO] [ERROR] Line 40: No source code is available for type > javax.validation.ConstraintViolation<T>; did you forget to inherit a > required module? > > .............. errrors continue for a while, then followed by a bunch > of warnings like the ones listed below....... > > [INFO] Rebinding com.google.gwt.user.client.UserAgentAsserter > [INFO] Checking rule <generate-with > class='com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryEditorDriverGenerator'/ >> > [INFO] [WARN] Unknown type > 'com.google.web.bindery.requestfactory.gwt.client.RequestFactoryEditorDriver' > specified in deferred binding rule > [INFO] Checking rule <generate-with > class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/> > [INFO] [WARN] Detected warnings related to > 'com.google.gwt.editor.client.SimpleBeanEditorDriver'. Are > validation-api-<version>.jar and validation-api-<version>-sources.jar > on the classpath? > [INFO] Specify -logLevel DEBUG to see all errors. > [INFO] [WARN] Unknown type > 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in > deferred binding rule > [INFO] Rebinding com.google.gwt.user.client.UserAgentAsserter > > > > Since the errors and warnings are related to validation, I checked > again the pom.xml and my local cached .m2 repo, the javax.validation > jar is there and source jar is also there using mvn > dependency:sources. So any body know what's going on here? And why > does the warning say it need the sources.jar??? Also with the maven > dependency config and jar naming convention, I don't think I would be > able to include the source jar in the build classpath. > > Any help would be appreciated. > > Thanks, > Joseph > > > -- > 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.