Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: The import com.gwtplatform.dispatch.rest.client.serialization.mappers cannot be resolved #399

Closed
confile opened this issue Jan 16, 2014 · 2 comments

Comments

@confile
Copy link

confile commented Jan 16, 2014

I compiled a demo app and had this in my web.xml

    <inherits name="com.gwtplatform.dispatch.rpc.DispatchRpcShared"/> 
    <inherits name="com.gwtplatform.dispatch.rest.DispatchRest"/>
    <inherits name='com.gwtplatform.mvp.Mvp' />

The output I get is:

Adding '4' new generated units
      Validating units:
         [ERROR] Errors in 'generated://2C0DA2DF3F94CFDFBE4CC1309187248A/com/gwtplatform/dispatch/rest/client/serialization/JacksonMapperProviderImpl.java'
            [ERROR] Line 7: The import com.gwtplatform.dispatch.rest.client.serialization.mappers cannot be resolved
            See snapshot: /var/folders/xh/1xkfq26532j97q23qw5pdhs40000gn/T/com.gwtplatform.dispatch.rest.client.serialization.JacksonMapperProviderImpl2336084410034267910.java
@Chris-V
Copy link
Member

Chris-V commented Jan 16, 2014

Happens when you have no Services/Actions in your project. The error will go away when you create a first service with an action.
And.. this is fixed in the current snapshot #393

Thanks for reporting

@Chris-V Chris-V closed this as completed Jan 16, 2014
@confile
Copy link
Author

confile commented Jan 16, 2014

Your welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants