This repository has been archived by the owner on Mar 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Compile time errors using @CreatWith in web mode #17
Milestone
Comments
ghost
assigned hpehl
Oct 18, 2013
Stacktrace
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I’m hoping to serialize a list of objects to XML using polymorphic references. My setup seems to work successfully in GWT dev mode, however I run into compile time errors on my official build machine. I have a base class with xml reader/writers defined, subclasses with xml reader/writers also defined, and a wrapper class that contains only a list of base class objects, also with its own xml reader/writer. The compilation error involves the wrapper class, and seems to come from the fact that it both utilizes the @createwith annotation, and also has xml readers/writers defined for it. If I comment out the @createwith annotation, my project compiles successfully. Below is the wrapper class in its entirety. I have attached the error log, which contains 2 distinct errors. First is a classnotfoundexception, but I noticed that this disappears when I comment out the reader/writer in the wrapper class, so perhaps it is a symptom of the second error? Second is an IllegalArgumentException, complaining of object is not an instance of declaring class.
Is it that the existence of the @createwith tag is somehow mucking up compilation? Any insight you could provide would be greatly appreciated. For reference, I am using the following versions:
The text was updated successfully, but these errors were encountered: