3 Replies Latest reply on Aug 28, 2009 3:37 AM by Ales Justin

    Issue while running DZone sample.

    Vicky Kak Master

      I have getting the following exception when I am running the simple application as pointed here
      http://java.dzone.com/articles/a-look-inside-jboss-microconta-0

      Here is the error

      Using bootstrap: file:/home/vicky/workspace/DZone_1_0/bootstrap/src/main/resources/META-INF/bootstrap-beans.xml
      org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/home/vicky/workspace/DZone_1_0/bootstrap/src/main/resources/META-INF/bootstrap-beans.xml@94,101
       at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:177)
       at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:147)
       at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:147)
       at org.jboss.demos.bootstrap.Main.configure(Main.java:80)
       at org.jboss.demos.bootstrap.Main.main(Main.java:45)
      Caused by: org.jboss.xb.binding.JBossXBRuntimeException: {urn:jboss:classloading:1.0}classloading not found as a child of {urn:jboss:bean-deployer:2.0}property in sequence: {urn:jboss:bean-deployer:2.0}annotation* {choice}* {wildcard}?
       at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:383)
       at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:401)
       at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:504)
       at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
       at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.emptyElement(XIncludeHandler.java:981)
       at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:353)
       at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2723)
       at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:624)
       at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
       at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:486)
       at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:810)
       at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:740)
       at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:110)
       at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1135)
       at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:536)
       at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
       ... 4 more
      


      Looks like that there is mismatch of jaxb jars.
      Can someone point the jar version which I need to use during runtime to run this application?