1 Reply Latest reply on May 7, 2013 8:17 AM by gimbal2

    NoSuchFieldError: theInstance] - please help

      I created a web service which supposed to run on Apache tomcat. In that web service I call an application which uses jaxb.
      I got h following failure:
      CreateCorpusXML:createXMLdOC Exception while creating JAXBContext
      - with linked exception:
      [java.lang.NoSuchFieldError: theInstance]

      When the apache starts I got the following info:
      INFO: validateJarFile(/usr/share/tomcat5/webapps/TextTechnionWS-1.0/WEB-INF/lib/javaee-api-6.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

      The web is full with reporting of this error but the reports are with relation to GlassFish which I didn't use.

      I use Maven 2,Aachee Tomcat 5, Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
      Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

      Run in RedHat