Deferred binding failed

前端 未结 4 492
自闭症患者
自闭症患者 2021-01-15 01:13

My application is throwing:

java.lang.RuntimeException: Deferred binding failed for \'com.mygwtapp.client.gin.ClientAppGinjector\' (did you forget to inheri         


        
相关标签:
4条回答
  • 2021-01-15 01:46

    I had the same problem, I resolved lom adding the following libraries:

    • javax.inject.jar
    • guice-assistedinject-3.0.jar
    • aopalliance.jar
    0 讨论(0)
  • 2021-01-15 01:54

    In your ".gwt.xml" file, add the following line:

    <inherits name="com.google.gwt.inject.Inject"/>
    
    0 讨论(0)
  • 2021-01-15 01:56

    I had the same problem. My getter method of Boolean object called getBooleanObject() instead of isBooleanObject(). Class JsonEncoderDecoder looked for method called isBooleanObject(), didn't find him, compilation failed. (gwt 2.8.0)

    0 讨论(0)
  • 2021-01-15 01:59

    I've had the same error message during runtime. When I tried "Google > GWT Compile" the stack trace helped me better. My problem was that the service interface used a class that wasn't serializable.

    0 讨论(0)
提交回复
热议问题