After upgrading to 2.2.0: unable to find '../GwtJackson.gwt.xml' on your classpath

197 views
Skip to first unread message

shimmeri...@gmail.com

unread,
Mar 14, 2017, 8:47:38 AM3/14/17
to RestyGWT
After upgrading from restygwt-2.1.1.jar to restygwt-2.2.0.jar I could not get my project to work because of error:

Running CodeServer with parameters: [-noprecompile, -port, 9876, -sourceLevel, 1.8, -bindAddress, 127.0.0.1, -launcherDir, C:\..\war, -logLevel, INFO, -style, OBFUSCATED, com.yourcompany.example]
Super Dev Mode starting up
   workDir: C:\Users\User\AppData\Local\Temp\gwt-codeserver-6462330483097412200.tmp
   Loading inherited module 'com.yourcompany.example'
      Loading inherited module 'org.fusesource.restygwt.RestyGWT'
         Loading inherited module 'com.github.nmorel.gwtjackson.GwtJackson'
            [ERROR] Unable to find 'com/github/nmorel/gwtjackson/GwtJackson.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?

I worked my way around it by removing line

<inherits name="com.github.nmorel.gwtjackson.GwtJackson" />

from RestyGWT.gwt.xml inside the jar file.

Is there some other way to do this more "cleanly" ?

christian

unread,
Mar 14, 2017, 10:31:14 AM3/14/17
to rest...@googlegroups.com
not sure. any build tool pulling in transitive dependencies will grab the new gwt-jackson jars as well. and any such tools can start the server for you as well.

so I guess the cleaner way would be to install the gwt-jackson jar as well.

- christian

shimmeri...@gmail.com

unread,
Mar 15, 2017, 7:31:55 AM3/15/17
to RestyGWT, m.kri...@web.de
I tried adding the gwt-jackson jar to the project but now I get lots of obscure warnings like these:

         Computing all possible rebind results for 'your.company.example.SomeUiBinderView_SomeUiBinderUiBinderImpl_GenBundle'
            Rebinding your.company.example.SomeUiBinderView_SomeUiBinderUiBinderImpl_GenBundle
               Checking rule <replace-with class='com.github.nmorel.gwtjackson.client.JsonSerializationContext.DefaultBuilder'/>
                  [WARN] Unknown type 'com.github.nmorel.gwtjackson.client.JsonSerializationContext.Builder' specified in deferred binding rule
               Checking rule <generate-with class='com.github.nmorel.gwtjackson.rebind.ObjectMapperGenerator'/>
                  [WARN] Unknown type 'com.github.nmorel.gwtjackson.client.ObjectWriter' specified in deferred binding rule

         Computing all possible rebind results for 'com.google.gwt.user.client.ui.NativeVerticalScrollbar_NativeVerticalScrollbarUiBinderImpl_GenBundle'
            Rebinding com.google.gwt.user.client.ui.NativeVerticalScrollbar_NativeVerticalScrollbarUiBinderImpl_GenBundle
               Checking rule <replace-with class='com.github.nmorel.gwtjackson.client.JsonSerializationContext.DefaultBuilder'/>
                  [WARN] Unknown type 'com.github.nmorel.gwtjackson.client.JsonSerializationContext.Builder' specified in deferred binding rule
               Checking rule <generate-with class='com.github.nmorel.gwtjackson.rebind.ObjectMapperGenerator'/>
                  [WARN] Unknown type 'com.github.nmorel.gwtjackson.client.ObjectWriter' specified in deferred binding rule
Reply all
Reply to author
Forward
0 new messages