Skip to content

Instantly share code, notes, and snippets.

@ge0ffrey
Created October 5, 2011 11:32
Show Gist options
  • Save ge0ffrey/1264244 to your computer and use it in GitHub Desktop.
Save ge0ffrey/1264244 to your computer and use it in GitHub Desktop.
Loading module: org.drools.guvnor.Guvnor
Top URL: http://127.0.0.1:8888/org.drools.guvnor.Guvnor/Guvnor.html?gwt.codesvr=127.0.0.1:9997
User agent: FF
Remote host: localhost.localdomain:47866
Tab key: 0x8f5e0420
Session key: []gJT!qs88.&omf}
DEBUG: Validating newly compiled units.
ERROR: Errors in 'jar:file:/home/gdesmet/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/EditorDriver.java'.
ERROR: Errors in 'jar:file:/home/gdesmet/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/impl/BaseEditorDriver.java'.
ERROR: Errors in 'jar:file:/home/gdesmet/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/impl/SimpleViolation.java'.
ERROR: Line 97: No source code is available for type javax.validation.ConstraintViolation<T>; did you forget to inherit a required module?.
ERROR: Line 67: No source code is available for type javax.validation.ConstraintViolation<T>; did you forget to inherit a required module?.
ERROR: Errors in 'jar:file:/home/gdesmet/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/testing/MockSimpleBeanEditorDriver.java'.
ERROR: Line 40: No source code is available for type javax.validation.ConstraintViolation<T>; did you forget to inherit a required module?.
ERROR: Line 108: No source code is available for type javax.validation.ConstraintViolation<T>; did you forget to inherit a required module?.
ERROR: Errors in 'jar:file:/home/gdesmet/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/javax/validation/super/javax/validation/Configuration.java'.
ERROR: Errors in 'jar:file:/home/gdesmet/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/javax/validation/ConstraintViolationException_CustomFieldSerializer.java'.
ERROR: Errors in 'jar:file:/home/gdesmet/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/javax/validation/super/javax/validation/MessageInterpolator.java'.
ERROR: Line 93: No source code is available for type javax.validation.TraversableResolver; did you forget to inherit a required module?.
ERROR: Line 105: No source code is available for type javax.validation.ConstraintValidatorFactory; did you forget to inherit a required module?.
ERROR: Line 202: No source code is available for type javax.validation.ValidatorFactory; did you forget to inherit a required module?.
ERROR: Errors in 'jar:file:/home/gdesmet/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/javax/validation/super/javax/validation/constraints/Pattern.java'.
ERROR: Errors in 'jar:file:/home/gdesmet/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/javax/validation/super/javax/validation/spi/ConfigurationState.java'.
ERROR: Line 30: No source code is available for type javax.validation.ConstraintViolationException; did you forget to inherit a required module?.
ERROR: Line 39: No source code is available for type javax.validation.ConstraintViolation<T>; did you forget to inherit a required module?.
ERROR: Line 66: No source code is available for type javax.validation.metadata.ConstraintDescriptor<T>; did you forget to inherit a required module?.
ERROR: Line 75: No source code is available for type javax.validation.Payload; did you forget to inherit a required module?.
ERROR: Line 93: No source code is available for type javax.validation.ConstraintValidatorFactory; did you forget to inherit a required module?.
ERROR: Line 107: No source code is available for type javax.validation.TraversableResolver; did you forget to inherit a required module?.
DEBUG: Rebinding com.google.gwt.core.client.impl.SchedulerImpl.
DEBUG: Checking rule <generate-with class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>.
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..
WARN: Unknown type 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in deferred binding rule.
DEBUG: Rebinding com.google.gwt.user.client.UserAgentAsserter.UserAgentProperty.
ERROR: Deferred binding failed for 'com.google.gwt.user.client.UserAgentAsserter.UserAgentProperty'; expect subsequent failures.
DEBUG: Invoking generator com.google.gwt.user.rebind.UserAgentGenerator.
ERROR: Unable to load module entry point class com.google.gwt.user.client.UserAgentAsserter (see associated exception for details). java.lang.RuntimeException: Deferred binding failed for 'com.google.gwt.user.client.UserAgentAsserter$UserAgentProperty' (did you forget to inherit a required module?)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
at com.google.gwt.core.client.GWT.create(GWT.java:98)
at com.google.gwt.user.client.UserAgentAsserter.onModuleLoad(UserAgentAsserter.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:193)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:510)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:595)
at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:455)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
at com.google.gwt.core.client.GWT.create(GWT.java:98)
at com.google.gwt.user.client.UserAgentAsserter.onModuleLoad(UserAgentAsserter.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:193)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:510)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Thread.java:662)
ERROR: Failed to load module 'org.drools.guvnor.Guvnor' from user agent 'Mozilla/5.0 (X11; U; Linux i686; nl; rv:1.9.2.23) Gecko/20110921 Ubuntu/10.10 (maverick) Firefox/3.6.23' at localhost.localdomain:47866.
@Rikkola
Copy link

Rikkola commented Nov 1, 2011

How did you solve this. I'm getting the same problem :)

@ge0ffrey
Copy link
Author

ge0ffrey commented Nov 1, 2011 via email

@zip184
Copy link

zip184 commented Feb 9, 2012

Did you get a fix for that Rikkola? I'm having the same problem.

@ge0ffrey
Copy link
Author

ge0ffrey commented Feb 9, 2012

Check your intellij gwt run configuraiton and make sure that FastCompiledGuvnor is checked and the other is not

@zip184
Copy link

zip184 commented Feb 9, 2012

I'm using eclipse. These are my run config args:

-startupUrl RibEye.html -war C:\Users\btillinghast\workspace\TRUNK\war -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO -server :ssl -codeServerPort 9997 -port 8888 com.dscicorp.ribeye.RibEye

@Rikkola
Copy link

Rikkola commented Feb 13, 2012

I'm using Idea too. The problem has come up a few times. Sometimes clean build helps, sometimes not. And the error message is always misleading. One thing you can test is to build the war and deploy it. mvn -DskipTests -Dfull clean install, and see if that throws an error.

@zip184
Copy link

zip184 commented Feb 13, 2012 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment