Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile 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
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you recompile the newly generated java files ?
 
Steve Singer
Greenhorn
Posts: 6
  • Likes 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic