File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jaxb-rt-1.0-ea.jar error during WEBLOGIC10.3 migration

 
srinivas sar
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We are getting below error when migrate our JAXB from weblogic 9.2 to 10.3.

java.lang.NoSuchFieldError: INITIAL_COLOR
at javax.xml.bind.ValidatableObject.<init>(ValidatableObject.java:32)
at javax.xml.bind.MarshallableObject.<init>(MarshallableObject.java:54)
at javax.xml.bind.MarshallableRootElement.<init>(MarshallableRootElement.java:97)

please help.

-Srini
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you recompile the newly generated java files ?
 
Steve Singer
Greenhorn
Posts: 6
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your problem is likely not Weblogic, but a new version of Java. Java 1.6 includes many of the JAXB classes in there with exactly the same names as the 1.0 version but different implementation, so it will break. Try running under Java 1.5.
 
Mohammad Husain
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Steve Singer wrote:Your problem is likely not Weblogic, but a new version of Java. Java 1.6 includes many of the JAXB classes in there with exactly the same names as the 1.0 version but different implementation, so it will break. Try running under Java 1.5.


Thanks. I was facing the same error, not with Weblogic though. Using Java 1.5 instead of 1.6 solved the problem.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic