Giter Site home page Giter Site logo

Comments (14)

nmorel avatar nmorel commented on July 29, 2024

It's odd. It's like the compiler doesn't see external source files.
It only fails on type contained in jackson-annotations or jax-rs api.

from gwt-jackson.

nmorel avatar nmorel commented on July 29, 2024

GWTP is also impacted :

Tracing compile failure path for type 'com.gwtplatform.dispatch.rest.client.DefaultRestRequestBuilderFactory'
      [ERROR] Errors in 'com/gwtplatform/dispatch/rest/client/DefaultRestRequestBuilderFactory.java'
         [ERROR] Line 144: MediaType cannot be resolved to a variable
         [ERROR] Line 26: The import javax.ws cannot be resolved
         [ERROR] Line 145: HttpHeaders cannot be resolved to a variable
         [ERROR] Line 27: The import javax.ws cannot be resolved
         [ERROR] Line 144: HttpHeaders cannot be resolved to a variable

from gwt-jackson.

confile avatar confile commented on July 29, 2024

Yes I use GWTP as well.

from gwt-jackson.

nmorel avatar nmorel commented on July 29, 2024

I just compiled my gwtp example with java 1.8, GWT 2.8.0-SNAPSHOT, GWTP 1.4-SNAPSHOT and gwt-jackson-0.7.1-SNAPSHOT without errors.

from gwt-jackson.

nmorel avatar nmorel commented on July 29, 2024

I only see the same kind of error in the guava extension. But I see that this is a known issue with guava.

from gwt-jackson.

confile avatar confile commented on July 29, 2024

Could you please link the issue?

from gwt-jackson.

nmorel avatar nmorel commented on July 29, 2024

https://code.google.com/p/google-web-toolkit/issues/detail?id=9036

from gwt-jackson.

nmorel avatar nmorel commented on July 29, 2024

Not sure it's the same problem though. But there is not much I can do I think.

from gwt-jackson.

confile avatar confile commented on July 29, 2024

You can at least rate the issue.

from gwt-jackson.

bauna avatar bauna commented on July 29, 2024

I have made some changes to make it compile with java8 but not ready to be merged:
https://github.com/bauna/gwt-jackson/tree/gwt280

from gwt-jackson.

nmorel avatar nmorel commented on July 29, 2024

I made a few tweaks around cast. With last snapshot of gwt and guava, I have no issues on compilation and tests.

from gwt-jackson.

bauna avatar bauna commented on July 29, 2024

It works except for one guava class: TreeMultisetJsonDeserializer (I think that the issue is because it requires that the generic T must be Comparable)

[INFO]    Adding '100' new generated units
[INFO]       See snapshot: /tmp/gwtjackson.java.lang.ObjectBeanJsonDeserializerImpl7502692652060705091.java
[INFO]       Ignored 1 unit with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[INFO]    [ERROR] Errors in '/home/bauna/dev/skymira/eforms/eforms-ui/target/.generated/gwtjackson/java/lang/ObjectBeanJsonDeserializerImpl.java'
[INFO]       [ERROR] Line 140: The method newInstance(JsonDeserializer<T>) in the type TreeMultisetJsonDeserializer is not applicable for the arguments (ObjectBeanJsonDeserializerImpl)
[INFO]       See snapshot: /tmp/gwtjackson.java.lang.ObjectBeanJsonDeserializerImpl2465895653503980292.java
[INFO]    Tracing compile failure path for type 'gwtjackson.java.lang.ObjectBeanJsonDeserializerImpl'
[INFO]       [ERROR] Errors in '/home/bauna/dev/skymira/eforms/eforms-ui/target/.generated/gwtjackson/java/lang/ObjectBeanJsonDeserializerImpl.java'
[INFO]          [ERROR] Line 140: The method newInstance(JsonDeserializer<T>) in the type TreeMultisetJsonDeserializer is not applicable for the arguments (ObjectBeanJsonDeserializerImpl)
[INFO]    [ERROR] Hint: Check that the type name 'gwtjackson.java.lang.ObjectBeanJsonDeserializerImpl' is really what you meant
[INFO]    [ERROR] Hint: Check that your classpath includes all required source roots
[INFO] 2015-11-26 14:35:28,085 user:na INFO  org.hibernate.validator.util.Version - Hibernate Validator 4.1.0.Final
[INFO] 2015-11-26 14:35:28,091 user:na INFO  org.hibernate.validator.engine.resolver.DefaultTraversableResolver - Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.

from gwt-jackson.

nmorel avatar nmorel commented on July 29, 2024

The deserializers no longer require Comparable.

from gwt-jackson.

nmorel avatar nmorel commented on July 29, 2024

Seems to be working now

from gwt-jackson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.