Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
2 replies Latest Post - ‏2012-05-18T10:15:52Z by sudheergidigi
xjiang
xjiang
1 Post
ACCEPTED ANSWER

Pinned topic JAXB and WebSphere 6.1 problem:Error 500: java.lang.LinkageError: LinkageEr

‏2009-12-28T06:58:34Z |
i used JAXB2.0 to generate JAVA class based on XML file. the project is no problem on WebSphere 7.0 or Tomcat 5.5. But now there is some errors when i deploy it on WebSphere 6.1. The error info is below:
Error 500: java.lang.LinkageError: LinkageError while defining class: com.aaa.bbbservlet.WorkflowXMLServlet Could not be defined due to: (com/aaa/bbbservlet/WorkflowXMLServlet) bad major version at offset=6 This is often caused by having a class defined at multiple locations within the classloader hierarchy. Other potential causes include compiling against an older or newer version of the class that has an incompatible method signature. Dumping the current context classloader hierarchy: ==> indicates defining classloader ==>[0] com.ibm.ws.classloader.CompoundClassLoader@71e871e8 Local ClassPath:
..................
  • end Original exception----
Updated on 2012-05-18T10:15:52Z at 2012-05-18T10:15:52Z by sudheergidigi
  • SystemAdmin
    SystemAdmin
    235 Posts
    ACCEPTED ANSWER

    Re: JAXB and WebSphere 6.1 problem:Error 500: java.lang.LinkageError: LinkageEr

    ‏2010-07-09T10:28:58Z  in response to xjiang
    Uggs
    ugg boots
  • sudheergidigi
    sudheergidigi
    1 Post
    ACCEPTED ANSWER

    Re: JAXB and WebSphere 6.1 problem:Error 500: java.lang.LinkageError: LinkageEr

    ‏2012-05-18T10:15:52Z  in response to xjiang
    while deploying restfull services on WAS6.1 getting issues.

    i have used the jersy 1.12 version ,It is working file with Jboss 5.0 GA

    Error 500: java.lang.LinkageError: LinkageError while defining class: javax.ws.rs.core.Application Could not be defined due to: (javax/ws/rs/core/Application) bad major version at offset=6

    can any body help onthis?