andrewbissada / gss

Automatically exported from code.google.com/p/gss
Other
0 stars 0 forks source link

Errors while upgrade GWT to v2.4 #123

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
.xml files generated and run without errors while compiling.

What version of the product are you using? On what operating system?
operating system is Windows.
I make the compiler to be jdk1.7 instead of jre1.5.
I set these in the Environment Variables:
classpath point to C:\Program 
Files\Documentum\dctm.jar;C:\Documentum\config;%GWT_HOME%;%GWT_HOME%\gwt-user.ja
r;%GWT_HOME%\gwt-dev.jar;%GWT_HOME%\gwt-servlet.jar;%junit%
GWT_HOME D:\products\DSS 
2012\eclipse-jee-indigo-SR2-win32\eclipse\plugins\com.google.gwt.eclipse.sdkbund
le_2.4.0.v201205021203-rel-r37\gwt-2.4.0
JAVA_HOME "C:\Program Files\Java\jdk1.7.0_05"
junit %JUNIT_HOME%\junit.jar
JUNIT_HOME D:\products\DSS 
2012\eclipse-jee-indigo-SR2-win32\eclipse\plugins\org.junit_4.8.2.v4_8_2_v201103
21-1705

In the eclipse --> Preferences --> Java --> compiler --> Compiler compliance 
level to 1.7
In the eclipse --> Preferences --> Java --> Installed JREs --> set it to 
jdk1.7.0_05

Please provide any additional information below.
I am trying to upgrade GWT to v2.4. I am facing problems. When Run As -> Ant 
Built (after upgrade the project), the .xml files are missing (not generated in 
the project) and the project build successfully, but there is strange behavior 
which shows errors in the console. I will post the errors that are appearing 
(some of them).

The errors that are appearing while doing the compiling (the result I got is 
successfully compiled) 

 [java]    Validating newly compiled units
     [java]       Errors in 'jar:file:/D:/products/DSS%202012/eclipse-jee-indigo-SR2-win32/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201205021203-rel-r37/gwt-2.4.0/gwt-user.jar!/com/google/gwt/editor/client/EditorDriver.java'
     [java]          Line 20: The import javax.validation.ConstraintViolation cannot be resolved
     [java]          Line 97: ConstraintViolation cannot be resolved to a type
     [java]       Errors in 'jar:file:/D:/products/DSS%202012/eclipse-jee-indigo-SR2-win32/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201205021203-rel-r37/gwt-2.4.0/gwt-user.jar!/com/google/gwt/editor/client/impl/AbstractSimpleBeanEditorDriver.java'
     [java]          Line 28: Name clash: The method setConstraintViolations(Iterable<ConstraintViolation<?>>) of type BaseEditorDriver<T,E> has the same erasure as setConstraintViolations(Iterable<ConstraintViolation<?>>) of type EditorDriver<T> but does not override it
     [java]       Errors in 'jar:file:/D:/products/DSS%202012/eclipse-jee-indigo-SR2-win32/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201205021203-rel-r37/gwt-2.4.0/gwt-user.jar!/com/google/gwt/editor/client/impl/BaseEditorDriver.java'
     [java]          Line 31: The import javax.validation.ConstraintViolation cannot be resolved
     [java]          Line 66: ConstraintViolation cannot be resolved to a type
     [java]       Errors in 'jar:file:/D:/products/DSS%202012/eclipse-jee-indigo-SR2-win32/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201205021203-rel-r37/gwt-2.4.0/gwt-user.jar!/com/google/gwt/editor/client/impl/SimpleViolation.java'
     [java]          Line 25: The import javax.validation.ConstraintViolation cannot be resolved
     [java]          Line 40: ConstraintViolation cannot be resolved to a type
     [java]          Line 43: ConstraintViolation cannot be resolved to a type
     [java]          Line 44: Missing code implementation in the compiler
     [java]          Line 49: ConstraintViolation cannot be resolved to a type
     [java]          Line 49: Missing code implementation in the compiler
     [java]          Line 70: ConstraintViolation cannot be resolved to a type
     [java]          Line 72: ConstraintViolation cannot be resolved to a type
     [java]          Line 73: ConstraintViolation<?> cannot be resolved to a type
     [java]          Line 78: ConstraintViolation<capture#2-of ?> cannot be resolved to a type
     [java]          Line 83: ConstraintViolation<capture#3-of ?> cannot be resolved to a type
     [java]          Line 92: ConstraintViolation<capture#4-of ?> cannot be resolved to a type
     [java]          Line 97: ConstraintViolation<capture#5-of ?> cannot be resolved to a type
     [java]          Line 102: ConstraintViolation cannot be resolved to a type
     [java]       Errors in 'jar:file:/D:/products/DSS%202012/eclipse-jee-indigo-SR2-win32/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201205021203-rel-r37/gwt-2.4.0/gwt-user.jar!/com/google/gwt/editor/client/testing/MockSimpleBeanEditorDriver.java'
     [java]          Line 26: The import javax.validation.ConstraintViolation cannot be resolved
     [java]          Line 35: The type MockSimpleBeanEditorDriver<T,E> must implement the inherited abstract method EditorDriver<T>.setConstraintViolations(Iterable<ConstraintViolation<?>>)
     [java]          Line 107: Name clash: The method setConstraintViolations(Iterable<ConstraintViolation<?>>) of type MockSimpleBeanEditorDriver<T,E> has the same erasure as setConstraintViolations(Iterable<ConstraintViolation<?>>) of type EditorDriver<T> but does not override it
     [java]          Line 108: ConstraintViolation cannot be resolved to a type
     [java]       Errors in 'jar:file:/D:/products/DSS%202012/eclipse-jee-indigo-SR2-win32/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201205021203-rel-r37/gwt-2.4.0/gwt-user.jar!/com/google/gwt/validation/client/AbstractGwtValidatorFactory.java'
     [java]          Line 21: The import javax.validation.ConstraintValidatorFactory cannot be resolved
     [java]          Line 23: The import javax.validation.TraversableResolver cannot be resolved
     [java]          Line 24: The import javax.validation.Validator cannot be resolved
     [java]          Line 25: The import javax.validation.ValidatorContext cannot be resolved
     [java]          Line 26: The import javax.validation.ValidatorFactory cannot be resolved
     [java]          Line 57: ValidatorFactory cannot be resolved to a type
     [java]          Line 67: ConstraintValidatorFactory cannot be resolved to a type
     [java]          Line 68: The method create(Class<?>) from the type GWT refers to the missing type ConstraintValidatorFactory
     [java]          Line 68: ConstraintValidatorFactory cannot be resolved to a type
     [java]          Line 75: TraversableResolver cannot be resolved to a type
     [java]          Line 76: The method create(Class<?>) from the type GWT refers to the missing type TraversableResolver
     [java]          Line 76: TraversableResolver cannot be resolved to a type
     [java]          Line 79: Validator cannot be resolved to a type
     [java]          Line 81: The method getConstraintValidatorFactory() from the type AbstractGwtValidatorFactory refers to the missing type ConstraintValidatorFactory
     [java]          Line 82: The method getTraversableResolver() from the type AbstractGwtValidatorFactory refers to the missing type TraversableResolver
     [java]          Line 91: ValidatorContext cannot be resolved to a type
     [java]          Line 92: The method create(Class<?>) from the type GWT refers to the missing type ValidatorContext
     [java]          Line 92: ValidatorContext cannot be resolved to a type
     [java]       Errors in 'jar:file:/D:/products/DSS%202012/eclipse-jee-indigo-SR2-win32/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201205021203-rel-r37/gwt-2.4.0/gwt-user.jar!/com/google/gwt/validation/client/BaseGwtConfiguration.java'
     [java]          Line 23: The import javax.validation.ConstraintValidatorFactory cannot be resolved
     [java]          Line 25: The import javax.validation.TraversableResolver cannot be resolved
     [java]          Line 26: The import javax.validation.ValidatorFactory cannot be resolved
     [java]          Line 27: The import javax.validation.spi.BootstrapState cannot be resolved
     [java]          Line 40: BootstrapState cannot be resolved to a type
     [java]          Line 43: BootstrapState cannot be resolved to a type
     [java]          Line 45: BootstrapState cannot be resolved to a type
     [java]          Line 53: ValidatorFactory cannot be resolved to a type
     [java]          Line 55: The method buildValidatorFactory(ConfigurationState) from the type GwtValidationProvider refers to the missing type ValidatorFactory
     [java]          Line 59: ConstraintValidatorFactory cannot be resolved to a type
     [java]          Line 64: ConstraintValidatorFactory cannot be resolved to a type
     [java]          Line 65: The method create(Class<?>) from the type GWT refers to the missing type ConstraintValidatorFactory
     [java]          Line 65: ConstraintValidatorFactory cannot be resolved to a type
     [java]          Line 72: TraversableResolver cannot be resolved to a type
     [java]          Line 73: The method create(Class<?>) from the type GWT refers to the missing type TraversableResolver
     [java]          Line 73: TraversableResolver cannot be resolved to a type
     [java]          Line 88: TraversableResolver cannot be resolved to a type
     [java]       Errors in 'jar:file:/D:/products/DSS%202012/eclipse-jee-indigo-SR2-win32/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201205021203-rel-r37/gwt-2.4.0/gwt-user.jar!/com/google/gwt/validation/client/BaseMessageInterpolator.java'
     [java]          Line 26: The import javax.validation.metadata cannot be resolved
     [java]          Line 41: ConstraintDescriptor cannot be resolved to a type
     [java]          Line 44: ConstraintDescriptor cannot be resolved to a type
     [java]          Line 45: ConstraintDescriptor<?> cannot be resolved to a type
     [java]          Line 49: ConstraintDescriptor cannot be resolved to a type
     [java]          Line 50: ConstraintDescriptor<capture#2-of ?> cannot be resolved to a type

I don't know what to do. Please any help.

Thanks and regards,
Ali

Original issue reported on code.google.com by alzayer....@gmail.com on 15 Jul 2012 at 11:25

GoogleCodeExporter commented 9 years ago
I managed to solve some of the errors appeared in the code by adding three jars.

First, I added these two files into the classpath:
1- validation-api-1.0.0.GA-sources.jar
2- validation-api-1.0.0.GA.jar

Then I added the three jars into the library and to war/WEB-INF/lib
1- validation-api-1.0.0.GA-sources.jar
2- validation-api-1.0.0.GA.jar
3- gwt-servlet-deps.jar

But still I have other things like the below problems. Any help or clue.

     [java] Loaded 2334 units from persistent store.
     [java]    Found 2260 cached units.  Used 2260 / 2260 units from cache.
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.MaxValidatorForString
     [java]    Invalid ref: javax.validation.ConstraintViolation mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.editor.client.impl.BaseEditorDriver
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.SizeValidatorForMap
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.NotGwtCompatibleValidator
     [java]    Invalid ref: javax.validation.ConstraintViolation mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.editor.client.testing.MockSimpleBeanEditorDriver
     [java]    Invalid ref: javax.validation.constraints.Min mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.AbstractMinValidator
     [java]    Invalid ref: javax.validation.ConstraintViolation mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.impl.ConstraintViolationImpl
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.SizeValidatorForArrayOfShort
     [java]    Invalid ref: javax.validation.spi.BootstrapState mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.BaseGwtConfiguration
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.impl.ConstraintDescriptorImpl
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.PatternValidator
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.AbstractDecimalMaxValidator
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.SizeValidatorForArrayOfLong
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.SizeValidatorForArrayOfChar
     [java]    Invalid ref: TraversableResolver mine: null theirs: not null
     [java]    Invalid Unit: javax.validation.Configuration
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.AbstractDecimalMinValidator
     [java]    Invalid ref: javax.validation.ValidationProviderResolver mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.GwtValidationProviderResolver
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.SizeValidatorForArrayOfObject
     [java]    Invalid ref: javax.validation.Path mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.impl.MessageAndPath
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.impl.AbstractGwtSpecificValidator
     [java]    Invalid ref: javax.validation.ConstraintValidatorFactory mine: null theirs: not null
     [java]    Invalid Unit: javax.validation.spi.ConfigurationState
     [java]    Invalid ref: javax.validation.metadata.ConstraintDescriptor mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.BaseMessageInterpolator
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.FutureValidatorForDate
     [java]    Invalid ref: javax.validation.spi.BootstrapState mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.spi.GwtValidationProvider
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.NullValidator
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.MinValidatorForString
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.DigitsValidatorForString
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.SizeValidatorForArrayOfFloat
     [java]    Invalid ref: javax.validation.ValidatorFactory mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.GwtValidatorContext
     [java]    Invalid ref: javax.validation.metadata.PropertyDescriptor mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.impl.PropertyDescriptorImpl
     [java]    Invalid ref: javax.validation.ValidatorFactory mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.Validation
     [java]    Invalid ref: javax.validation.ValidatorFactory mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.AbstractGwtValidatorFactory
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.DecimalMaxValidatorForNumber
     [java]    Invalid ref: javax.validation.ConstraintValidatorFactory mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.impl.AbstractGwtValidator
     [java]    Invalid ref: javax.validation.metadata.BeanDescriptor mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.impl.GwtBeanDescriptor
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.DecimalMaxValidatorForString
     [java]    Invalid ref: javax.validation.TraversableResolver mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.GwtTraversableResolver
     [java]    Invalid ref: javax.validation.spi.BootstrapState mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.spi.GwtBootStrapState
     [java]    Invalid ref: javax.validation.ConstraintViolation mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.editor.client.impl.SimpleViolation
     [java]    Invalid ref: javax.validation.Path mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.impl.NodeImpl
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.DecimalMinValidatorForString
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.DecimalMinValidatorForNumber
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.SizeValidatorForArrayOfDouble
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.MaxValidatorForNumber
     [java]    Invalid ref: javax.validation.Path mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.impl.PathImpl
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.DigitsValidatorForNumber
     [java]    Invalid ref: javax.validation.metadata.PropertyDescriptor mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.impl.GwtBeanDescriptorImpl
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.NotNullValidator
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.SizeValidatorForArrayOfBoolean
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.SizeValidatorForArrayOfInt
     [java]    Invalid ref: javax.validation.ConstraintViolation mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.editor.client.EditorDriver
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.AbstractMaxValidator
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.MinValidatorForNumber
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.impl.ConstraintValidatorContextImpl
     [java]    Invalid ref: javax.validation.metadata.BeanDescriptor mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.impl.GwtValidationContext
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.GwtConstraintValidatorFactory
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.SizeValidatorForString
     [java]    Invalid ref: javax.validation.spi.BootstrapState mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.GwtConfiguration
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.PastValidatorForDate
     [java]    Invalid ref: javax.validation.Payload mine: null theirs: not null
     [java]    Invalid Unit: javax.validation.constraints.Pattern
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.AssertTrueValidator
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.AssertFalseValidator
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.SizeValidatorForArrayOfByte
     [java]    Invalid ref: javax.validation.metadata.ConstraintDescriptor mine: null theirs: not null
     [java]    Invalid Unit: javax.validation.MessageInterpolator
     [java]    Invalid ref: javax.validation.ConstraintValidatorContext mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.SizeValidatorForCollection
     [java]    Invalid ref: ConstraintViolation mine: null theirs: not null
     [java]    Invalid Unit: javax.validation.ConstraintViolationException_CustomFieldSerializer
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.AbstractDigitsValidator
     [java]    Invalid ref: javax.validation.ValidationException mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.impl.GwtSpecificValidator
     [java]    Invalid ref: javax.validation.ConstraintValidator mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.constraints.AbstractSizeValidator
     [java]    Invalid ref: javax.validation.TraversableResolver mine: null theirs: not null
     [java]    Invalid Unit: com.google.gwt.validation.client.spi.BaseConfigurationState
     [java]    Invalid units found: 70
     [java]    javax.validation.MessageInterpolator.Context isn't structurally same.
     [java]    Invalid Unit: com.google.gwt.validation.client.GwtMessageInterpolator
     [java]    com.google.gwt.editor.client.EditorDriver isn't structurally same.
     [java]    Invalid Unit: com.google.gwt.editor.client.testing.EditorHierarchyPrinter
     [java]    MessageInterpolator isn't structurally same.
     [java]    Invalid Unit: javax.validation.ValidatorFactory
     [java]    javax.validation.Configuration isn't structurally same.
     [java]    Invalid Unit: javax.validation.spi.ValidationProvider
     [java]    com.google.gwt.validation.client.Validation isn't structurally same.
     [java]    Invalid Unit: javax.validation.Validation
     [java]    com.google.gwt.editor.client.EditorDriver isn't structurally same.
     [java]    Invalid Unit: com.google.gwt.editor.client.impl.DelegateMap
     [java]    javax.validation.Configuration isn't structurally same.
     [java]    Invalid Unit: javax.validation.bootstrap.GenericBootstrap
     [java]    javax.validation.spi.ConfigurationState isn't structurally same.
     [java]    Invalid Unit: com.google.gwt.validation.client.spi.GwtConfigurationState
     [java]    javax.validation.Configuration isn't structurally same.
     [java]    Invalid Unit: javax.validation.bootstrap.ProviderSpecificBootstrap
     [java]    com.google.gwt.editor.client.EditorDriver isn't structurally same.
     [java]    Invalid Unit: com.google.gwt.editor.client.SimpleBeanEditorDriver
     [java]    MessageInterpolator isn't structurally same.
     [java]    Invalid Unit: javax.validation.ValidatorContext
     [java]    com.google.gwt.editor.client.impl.BaseEditorDriver isn't structurally same.
     [java]    Invalid Unit: com.google.gwt.editor.client.impl.AbstractSimpleBeanEditorDriver
     [java]    Invalid units found: 12

I used to have .xml files before upgrading GWT and the compiler, but after I 
compiled the code. The .xml files disappeared. 
what should I do?
Please Help.

Ali

Original comment by alzayer....@gmail.com on 16 Jul 2012 at 5:04

GoogleCodeExporter commented 9 years ago
I discovered that GWT 2.4 is working with JAVA 6 (not Java 7) and also I have 
to set compiler compliance level to 1.6. 

Even though, I am still trying to solve this problem. 

My real problem is that before upgrading to GWT 2.4 I was getting .xml files 
generated, but now I am not getting them. So I don’t how to get them 
generated. Do I really need these .xml files or not. Thank you again and 
looking for an answer. 

Original comment by alzayer....@gmail.com on 16 Jul 2012 at 5:58

GoogleCodeExporter commented 9 years ago
Did you find a solution for the "Invalid Unit" thing? I have the same problem 
and no clue, what's the reason. Googling for it only matches this page.. :-/

Original comment by grischa....@gmail.com on 14 Sep 2012 at 1:36