Tuesday, June 5, 2018

Re: Errors while updating to GWT2.8.2

Still getting same error. I think instead of getting the String/Object... classes from the jdk, it is trying to look for them in the emulated classes.

On Thursday, May 31, 2018 at 6:01:53 PM UTC+5:30, Thomas Broyer wrote:
You may have to clean your .gwt-unitCache (it's a good idea anyway whenever your change GWT version)

On Thursday, May 31, 2018 at 12:14:42 PM UTC+2, dinesh kumar wrote:
I have updated the following jars :
    
GWT2.8.2
---------------
   gwt-dev
   gwt-user
   gwet-servlet

gxt-2.3.1a

Now I get the following error while compilation:

[ERROR] Errors in 'com/google/gwt/emul/java/util/OptionalInt.java'
     [java]          [ERROR] Line 92: The method compare(int, int) is undefined for the type Integer
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/util/stream/DoubleStream.java'
     [java]          [ERROR] java.util.PrimitiveIterator.OfDouble cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/util/stream/Stream.java'
     [java]          [ERROR] java.lang.Object cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/util/stream/BaseStream.java'
     [java]          [ERROR] java.lang.AutoCloseable cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/util/IntSummaryStatistics.java'
     [java]          [ERROR] java.lang.String cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/lang/Double.java'
     [java]          [ERROR] java.lang.Object cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/lang/Long.java'
     [java]          [ERROR] java.lang.Object cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/util/Map.java'
     [java]          [ERROR] java.lang.Object cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/lang/Appendable.java'
     [java]          [ERROR] java.io.IOException cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/i18n/client/DateTimeFormatInfo.java'
     [java]          [ERROR] com.google.gwt.i18n.shared.DateTimeFormatInfo cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/i18n/client/LocalizedNames.java'
     [java]          [ERROR] java.lang.String cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/i18n/client/constants/DateTimeConstants.java'
     [java]          [ERROR] java.lang.String cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/i18n/client/impl/LocaleInfoImpl.java'
     [java]          [ERROR] java.lang.String cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/i18n/client/constants/NumberConstants.java'
     [java]          [ERROR] java.lang.String cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/util/OptionalLong.java'
     [java]          [ERROR] java.lang.Object cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/util/LongSummaryStatistics.java'
     [java]          [ERROR] java.lang.String cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/lang/NumberFormatException.java'
     [java]          [ERROR] java.lang.String cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/lang/Number.java'
     [java]          [ERROR] java.lang.Object cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/util/DoubleSummaryStatistics.java'
     [java]          [ERROR] java.lang.String cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/util/function/Predicate.java'
     [java]          [ERROR] java.lang.Object cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/util/function/BinaryOperator.java'
     [java]          [ERROR] java.util.Comparator cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/util/Optional.java'
     [java]          [ERROR] java.lang.Object cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/util/stream/Collector.java'
     [java]          [ERROR] java.util.function.BinaryOperator cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/lang/AutoCloseable.java'
     [java]          [ERROR] java.lang.Exception cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/util/Collection.java'
     [java]          [ERROR] java.lang.Object cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/util/Set.java'
     [java]          [ERROR] java.util.Spliterator cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/i18n/shared/DateTimeFormatInfo.java'
     [java]          [ERROR] java.lang.String cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/lang/IllegalArgumentException.java'
     [java]          [ERROR] java.lang.String cannot be resolved to a type
     [java]       [ERROR] Errors in 'com/google/gwt/emul/java/lang/RuntimeException.java'
     [java]          [ERROR] java.lang.Object cannot be resolved to a type
     [java]       Checked 63 dependencies for errors.

can  anyone help with this?

--
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