Wednesday, October 26, 2016

The type AbstractRequestContext.MyConstraintViolation must implement the inherited abstract method ConstraintViolation.getExecutableParameters()

Hi,

I'm compiling a multi gwt project with gradle.

I have the following error


Compiling module fr.onevu.vume.Customer
   
Tracing compile failure path for type 'com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext'
     
[ERROR] Errors in 'com/google/web/bindery/requestfactory/shared/impl/AbstractRequestContext.java'
         
[ERROR] Line 418: The type AbstractRequestContext.MyConstraintViolation must implement the inherited abstract method ConstraintViolation<BaseProxy>.getExecutableParameters()
         
[ERROR] Line 418: The type AbstractRequestContext.MyConstraintViolation must implement the inherited abstract method ConstraintViolation<BaseProxy>.getExecutableReturnValue()
         
[ERROR] Line 418: The type AbstractRequestContext.MyConstraintViolation must implement the inherited abstract method ConstraintViolation<BaseProxy>.unwrap(Class<U>)
     
[ERROR] Errors in 'com/google/web/bindery/requestfactory/shared/impl/AbstractRequest.java'
         
[ERROR] com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext cannot be resolved to a type
   
Computing all possible rebind results for 'eu.nextstreet.gwt.components.client.ui.widget.select.DefaultPanelValueSelector.Resources'
     
Rebinding eu.nextstreet.gwt.components.client.ui.widget.select.DefaultPanelValueSelector.Resources
         
Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
           
Preparing method panelStyles
               
Finding resources
                 
[ERROR] Resource eu/nextstreet/gwt/components/client/PanelValueSelector.css not found. Is the name specified as ClassLoader.getResource() would expect?
   
[ERROR] Errors in 'eu/nextstreet/gwt/components/client/ui/widget/select/DefaultPanelValueSelector.java'
     
[ERROR] Line 80: Failed to resolve 'eu.nextstreet.gwt.components.client.ui.widget.select.DefaultPanelValueSelector.Resources' via deferred binding
:Customer:compileGwt FAILED
:Customer:compileGwt (Thread[Daemon worker Thread 14,5,main]) completed. Took 14.549 secs.


The complete trace is here : I checked there's no other dependencies on GWT than 2.7.0, so it can't be because of a version conflict...

Starting process 'command 'C:\Dev\jdk7\bin\java.exe''. Working directory: C:\Users\Zied Hamdi\git\VuMe\Customer Command: C:\Dev\jdk7\bin\java.exe -Dgwt.persistentunitcachedir=C:\Users\Zied Hamdi\git\VuMe\Customer\build\gwt\cache -Xms1
024M -Xmx2048M -Dfile.encoding=windows-1252 -Duser.country=FR -Duser.language=fr -Duser.variant -cp C:\Users\Zied Hamdi\git\VuMe\Customer\src\main\java;C:\Users\Zied Hamdi\git\VuMe\Customer\build\resources\main;C:\Users\Zied Hamdi\git
\VuMe\VuMetest\libs\cobogw-1.3.2.jar;C:\Users\Zied Hamdi\git\VuMe\ShopAdmin\build\libs\ShopAdmin-1.0.jar;C:\Users\Zied Hamdi\git\VuMe\VuMetest\build\libs\VuMetest-1.0.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.goog
le.appengine\gradle-appengine-plugin\1.9.42\3e2afb385f1f4e9ca2bf59da4f251139bc8d6b40\gradle-appengine-plugin-1.9.42.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.github.branflake2267\gwt-maps-api\3.10.0-alpha-7\f3b047
9fbe47bf2a370590bdd5b83bea1094190\gwt-maps-api-3.10.0-alpha-7.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.gwt\gwt-user\2.7.0\bdc7af42581745d3d79c2efe0b514f432b998a5b\gwt-user-2.7.0.jar;C:\Users\Zied Hamdi\.gr
adle\caches\modules-2\files-2.1\com.google.gwt\gwt-servlet\2.7.0\6d5ed85568c13295374ba24194a987c0d952f3eb\gwt-servlet-2.7.0.jar;C:\Users\Zied Hamdi\git\VuMe\Deps\build\libs\Deps-1.0.jar;C:\Users\Zied Hamdi\git\VuMe\Gwoto\build\libs\Gw
oto-1.0.jar;C:\Users\Zied Hamdi\git\VuMe\IntoGwt\build\libs\IntoGwt-1.0.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.appengine\appengine-local-endpoints\1.9.42\9a36fa948866b9f747a98196788d8d46636f4379\appengin
e-local-endpoints-1.9.42.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.appengine\gradle-appengine-builder-model\0.1.0\30ac981a2bd9a49823f026662534136217ef7c7f\gradle-appengine-builder-model-0.1.0.jar;C:\Users\Z
ied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.gwt.google-apis\gwt-ajaxloader\1.1.0\82c11262a7e57b747bc5f426d498287354196d5\gwt-ajaxloader-1.1.0.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\commons-fileupload\co
mmons-fileupload\1.3.1\c621b54583719ac0310404463d6d99db27e1052c\commons-fileupload-1.3.1.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\commons-beanutils\commons-beanutils\1.9.1\d2662a4e018671ed061e9acca6299a31b7652f3c\com
mons-beanutils-1.9.1.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-lang3\3.3.1\6738a2da2202ce360f0af90aba005c1e05a2c4cd\commons-lang3-3.3.1.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files
-2.1\com.googlecode.objectify\objectify\4.1.3\8e1c81162e71b7a1d24a9840b3164539e5f514b5\objectify-4.1.3.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-databind\2.3.3\63b77400b5f1cf83a81823
562c48d3120ef5518e\jackson-databind-2.3.3.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\org.json\json\20140107\d1ffca6e2482b002702c6a576166fd685e3370e3\json-20140107.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-
2.1\net.sf.flexjson\flexjson\3.2\4211ffc514253ef9a1d96d73be0ce9c9589ba11e\flexjson-3.2.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\org.apache.oltu.oauth2\org.apache.oltu.oauth2.client\1.0.2\b34e09d1cb84c4b63cedb65c5346a
c44eecc22c5\org.apache.oltu.oauth2.client-1.0.2.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.ning\async-http-client\1.9.31\ce3221f788b53e2175559e7a936f07f4d263854f\async-http-client-1.9.31.jar;C:\Users\Zied Hamdi\.gr
adle\caches\modules-2\files-2.1\com.restfb\restfb\1.16.0\75c804bd8534d89b95880791970360d41fab2103\restfb-1.16.0.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.api-client\google-api-client-appengine\1.18.0-rc\c95
aede2a07361872dc6d562ba98ebec3d16035c\google-api-client-appengine-1.18.0-rc.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\org.jsoup\jsoup\1.7.3\92568d7167ce1bf9eb1fd815b022d5a2c113547a\jsoup-1.7.3.jar;C:\Users\Zied Hamdi\
.gradle\caches\modules-2\files-2.1\org.hibernate\hibernate-validator\5.1.2.Final\8aecb33d3587f32c877827c2bdddae0d227a40ed\hibernate-validator-5.1.2.Final.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.guava\guav
a\18.0\cce0823396aa693798f8882e64213b1772032b09\guava-18.0.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\junit\junit\3.8.1\99129f16442844f6a4a11ae22fbbee40b14d774f\junit-3.8.1.jar;C:\Users\Zied Hamdi\.gradle\caches\module
s-2\files-2.1\com.google.http-client\google-http-client-jackson2\1.22.0\cc014d64ae11117e159d334c99d9c246d9b36f44\google-http-client-jackson2-1.22.0.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.apis\google-api-
services-plus\v1-rev462-1.22.0\e3b9b4e7e015821472e03e656e9c4141bf1416cf\google-api-services-plus-v1-rev462-1.22.0.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.appengine\appengine-tools-sdk\1.9.42\bf3cec2fc9a9e
d8f4de36e17fc61c44a8d9df935\appengine-tools-sdk-1.9.42.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.appengine\appengine-endpoints\1.9.42\5c25efed254f8f9846d04b156e68283055efd320\appengine-endpoints-1.9.42.jar;
C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\javax.servlet\servlet-api\2.5\5959582d97d8b61f4d154ca9e495aafd16726e34\servlet-api-2.5.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\commons-io\commons-io\2.2\83b5b8a
7ba1c08f9e8c8ff2373724e33d3c1e22a\commons-io-2.2.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\commons-logging\commons-logging\1.1.1\5043bfebc3db072ed80fbd362e7caf00e885d8ae\commons-logging-1.1.1.jar;C:\Users\Zied Hamdi\.
gradle\caches\modules-2\files-2.1\commons-collections\commons-collections\3.2.1\761ea405b9b37ced573d2df0d1e3a4e0f9edc668\commons-collections-3.2.1.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\j
ackson-annotations\2.3.0\f5e853a20b60758922453d56f9ae1e64af5cb3da\jackson-annotations-2.3.0.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-core\2.3.3\7d8c5d79cc99995e21e6f955857312d8409f0
2a1\jackson-core-2.3.3.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\org.apache.oltu.oauth2\org.apache.oltu.oauth2.common\1.0.2\a82fff95276f4c6feadc7993670e659076e43260\org.apache.oltu.oauth2.common-1.0.2.jar;C:\Users\Zie
d Hamdi\.gradle\caches\modules-2\files-2.1\io.netty\netty\3.10.4.Final\e3a9be13921594357946e337cbec55d094f3870e\netty-3.10.4.Final.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.oauth-client\google-oauth-client-
appengine\1.18.0-rc\a3e34a38e1a60b432c4c00370ef6bdc7ea4e343f\google-oauth-client-appengine-1.18.0-rc.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.api-client\google-api-client-servlet\1.18.0-rc\d76afa2ad166286c
810658b68a4cf902fb92a426\google-api-client-servlet-1.18.0-rc.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.http-client\google-http-client-appengine\1.18.0-rc\39d065c59da6b41527df708bdfd3a52b44bc87b\google-http-
client-appengine-1.18.0-rc.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\org.jboss.logging\jboss-logging\3.1.3.GA\64499e907f19e5e1b3fdc02f81440c1832fe3545\jboss-logging-3.1.3.GA.jar;C:\Users\Zied Hamdi\.gradle\caches\modu
les-2\files-2.1\com.fasterxml\classmate\1.0.0\434efef28c81162b17c540e634cffa3bd9b09b4c\classmate-1.0.0.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.http-client\google-http-client\1.22.0\d441fc58329c4a4c067acec
04ac361627f66ecc8\google-http-client-1.22.0.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.appengine\appengine-api-1.0-sdk\1.9.42\c972bc847992e5512eb4338a38cc2392e56760f6\appengine-api-1.0-sdk-1.9.42.jar;C:\User
s\Zied Hamdi\.gradle\caches\modules-2\files-2.1\commons-codec\commons-codec\1.9\9ce04e34240f674bc72680f8b843b1457383161a\commons-codec-1.9.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.oauth-client\google-oauth
-client-servlet\1.18.0-rc\63d9deb87a116b665730d5e8321a4b60e1a55e71\google-oauth-client-servlet-1.18.0-rc.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\javax.jdo\jdo2-api\2.3-eb\ec6b839251fb235a86ccd23adc4fc62dab07a7d8\jdo
2-api-2.3-eb.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.code.findbugs\jsr305\1.3.9\40719ea6961c0cb6afaeb6a921eaa1f6afd4cfdf\jsr305-1.3.9.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.
http-client\google-http-client-jdo\1.18.0-rc\4a9d9b322b05031d9cc3eb8109ddb559d27ea4ce\google-http-client-jdo-1.18.0-rc.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\javax.transaction\transaction-api\1.1\2ca09f0b36ca7d71b7
62e14ea2ff09d5eac57558\transaction-api-1.1.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\org.slf4j\slf4j-api\1.7.12\8e20852d05222dc286bf1c71d78d0531e177c317\slf4j-api-1.7.12.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-
2\files-2.1\javax.validation\validation-api\1.1.0.Final\8613ae82954779d518631e05daa73a6a954817d5\validation-api-1.1.0.Final.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\javax.validation\validation-api\1.1.0.Final\7d49b53
caed9bd81d172807c3e096d24f3c57090\validation-api-1.1.0.Final-sources.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.api-client\google-api-client\1.22.0\244350c0c845c583717ade13f5666a452fd0cfa\google-api-client-1
.22.0.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.guava\guava-jdk5\17.0\463f8378feba44df7ba7cd9272d01837dad62b36\guava-jdk5-17.0.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\org.apache.httpcompo
nents\httpclient\4.0.1\1d7d28fa738bdbfe4fbd895d9486308999bdf440\httpclient-4.0.1.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpcore\4.0.1\e813b8722c387b22e1adccf7914729db09bcb4a9\httpcore-4.0
.1.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.oauth-client\google-oauth-client\1.22.0\1d63f369ac78e4838a3197147012026e791008cb\google-oauth-client-1.22.0.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\file
s-2.1\com.google.gwt\gwt-codeserver\2.7.0\74d5e4119d083f7ca97e3f01cbd666d025b314b3\gwt-codeserver-2.7.0.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\com.google.gwt\gwt-dev\2.7.0\c2c3dd5baf648a0bb199047a818be5e560f48982\g
wt-dev-2.7.0.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm\5.0.3\dcc2193db20e19e1feca8b1240dbbc4e190824fa\asm-5.0.3.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-util\5.0.3\151
2e5571325854b05fb1efce1db75fcced54389\asm-util-5.0.3.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-commons\5.0.3\a7111830132c7f87d08fe48cb0ca07630f8cb91c\asm-commons-5.0.3.jar;C:\Users\Zied Hamdi\.gradle\c
aches\modules-2\files-2.1\org.ow2.asm\asm-tree\5.0.3\287749b48ba7162fb67c93a026d690b29f410bed\asm-tree-5.0.3.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\javax.validation\validation-api\1.0.0.GA\b6bd7f9d78f6fdaa3c37dae18
a4bd298915f328e\validation-api-1.0.0.GA.jar;C:\Users\Zied Hamdi\.gradle\caches\modules-2\files-2.1\javax.validation\validation-api\1.0.0.GA\7a561191db2203550fbfa40d534d4997624cd369\validation-api-1.0.0.GA-sources.jar;C:\Users\Zied Ham
di\git\VuMe\Customer\build\classes\main com.google.gwt.dev.Compiler -logLevel ERROR -war C:\Users\Zied Hamdi\git\VuMe\Customer\build\gwt\out -extra C:\Users\Zied Hamdi\git\VuMe\Customer\build\gwt\extra -workDir C:\Users\Zied Hamdi\git
\VuMe\Customer\build\gwt\work -gen C:\Users\Zied Hamdi\git\VuMe\Customer\build\gwt\gen -localWorkers 8 fr.onevu.vume.Customer
Successfully started process 'command 'C:\Dev\jdk7\bin\java.exe''
Compiling module fr.onevu.vume.Customer
   Tracing compile failure path for type 'com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext'
      [ERROR] Errors in 'com/google/web/bindery/requestfactory/shared/impl/AbstractRequestContext.java'
         [ERROR] Line 418: The type AbstractRequestContext.MyConstraintViolation must implement the inherited abstract method ConstraintViolation<BaseProxy>.getExecutableParameters()
         [ERROR] Line 418: The type AbstractRequestContext.MyConstraintViolation must implement the inherited abstract method ConstraintViolation<BaseProxy>.getExecutableReturnValue()
         [ERROR] Line 418: The type AbstractRequestContext.MyConstraintViolation must implement the inherited abstract method ConstraintViolation<BaseProxy>.unwrap(Class<U>)
      [ERROR] Errors in 'com/google/web/bindery/requestfactory/shared/impl/AbstractRequest.java'
         [ERROR] com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext cannot be resolved to a type
   Computing all possible rebind results for 'eu.nextstreet.gwt.components.client.ui.widget.select.DefaultPanelValueSelector.Resources'
      Rebinding eu.nextstreet.gwt.components.client.ui.widget.select.DefaultPanelValueSelector.Resources
         Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
            Preparing method panelStyles
               Finding resources
                  [ERROR] Resource eu/nextstreet/gwt/components/client/PanelValueSelector.css not found. Is the name specified as ClassLoader.getResource() would expect?
   [ERROR] Errors in 'eu/nextstreet/gwt/components/client/ui/widget/select/DefaultPanelValueSelector.java'
      [ERROR] Line 80: Failed to resolve 'eu.nextstreet.gwt.components.client.ui.widget.select.DefaultPanelValueSelector.Resources' via deferred binding
:Customer:compileGwt FAILED
:Customer:compileGwt (Thread[Daemon worker Thread 14,5,main]) completed. Took 14.549 secs.


The error is not present in the web, any suggestions please?

Best regards,
Zied

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

No comments:

Post a Comment