On 1/24/07, Michael Roepke <[EMAIL PROTECTED]> wrote:
Hi there,I am facing a strange error when using JAXB 2.0-SNAPSHOT with exec Maven plugin, please see Caused by: java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of org/codehaus/mojo/exec/ExecJavaMoj o$IsolatedClassLoader) of the referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of <bootloader>) for the field's resolved ty pe, javax/xml/namespace/QName, have different Class objects for that type at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.<clinit>(RuntimeBu iltinLeafInfoImpl.java:186) Why is does the class is loaded by two different classloaders?
Probably the same as http://jira.codehaus.org/browse/MEXEC-9
And is there a solution for that?
You should try using the exec plugin version 1.1-SNAPSHOT as it doesn't use the IsolatedClassLoader anymore. Cheers, Jerome
Thanks for any help Michael from Brasil Here you see my dependency site Project Dependencies compile The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application: GroupId ArtifactId Version Classifier Type Optional commons-email commons-email 20030310.165926 - jar javax.xml saaj-api 1.3 - jar javax.xml.bind jaxb-api 2.0 - jar jaxb jaxb-api 2.0-SNAPSHOT - jar jaxb jaxb-impl 2.0-SNAPSHOT - jar junit junit 4.0 - jar vtours VtoursAxisWebserviceClientSabre 3.3.14FK - jar wsdl4j wsdl4j 1.5.3 - jar Project Transitive Dependencies The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies. compile The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application: GroupId ArtifactId Version Classifier Type Optional ant ant 1.6.5 - jar ant ant-optional 1.5.1 - jar antlr antlr 2.7.5H3 - jar aopalliance aopalliance 1.0 - jar asm asm 1.5.3 - jar asm asm-attrs 1.5.3 - jar c3p0 c3p0 0.9.1 - jar cglib cglib 2.1_3 - jar commons-beanutils commons-beanutils 1.7.0 - jar commons-beanutils commons-beanutils-core 1.7.0 - jar commons-codec commons-codec 1.3 - jar commons-collections commons-collections 2.1.1 - jar commons-configuration commons-configuration 1.3 - jar commons-digester commons-digester 1.6 - jar commons-discovery commons-discovery 20040218.194635 - jar commons-io commons-io 1.2 - jar commons-jxpath commons-jxpath 1.2 - jar commons-lang commons-lang 2.0 - jar commons-logging commons-logging 1.0.3 - jar commons-logging commons-logging-api 1.0.4 - jar commons-validator commons-validator 1.3.0 - jar directory-naming naming-core 0.8 - jar dom4j dom4j 1.6.1 - jar freemarker freemarker 2.3.6 - jar httpunit httpunit 1.6.1 - jar javax.activation activation 1.1 - jar javax.mail mail 1.4 - jar javax.persistence persistence-api 1.0 - jar javax.servlet servlet-api 2.3 - jar javax.transaction jta 1.0.1B - jar javax.xml.bind jsr173_api 1.0 - jar jaxb activation 1.0.2 - jar jaxb jsr173_api 1.0 - jar jboss javassist 3.0 - jar jboss jboss-archive-browsing 5.0.0alpha-200607201-119 - jar jboss jboss-client 4.0.2 - jar jboss jboss-common 4.0.2 - jar jboss jboss-ejb3 3 - jar jboss jboss-ejb3x 3x - jar jdom jdom b9 - jar jta jta 0.0.1 - jar jtidy jtidy r8-21122004 - jar log4j log4j 1.2.13 - jar nekohtml nekohtml 0.9.1 - jar net.sf.ehcache ehcache 1.2 - jar ojdbc ojdbc 14 - jar org.apache.axis axis 1.3 - jar org.apache.axis axis-jaxrpc 1.2 - jar org.apache.axis axis-saaj 1.4 - jar org.hibernate ejb3-persistence 1.0 - jar org.hibernate hibernate 3.2.0.ga - jar org.hibernate hibernate-annotations 3.2.0.ga - jar org.hibernate hibernate-entitymanager 3.2.0.ga - jar org.springframework spring-aop 2.0.1 - jar org.springframework spring-beans 2.0.1 - jar org.springframework spring-context 2.0.1 - jar org.springframework spring-core 2.0.1 - jar org.springframework spring-dao 2.0.1 - jar org.springframework spring-remoting 2.0.1 - jar org.springframework spring-support 2.0.1 - jar oro oro 2.0.8 - jar ostermiller ostermillerutils 1.05.00 - jar rhino js 1.5R4.1 - jar slide webdavlib 2.0 - jar vtours VtoursBusinessConfiguration 3.3.14FK - jar vtours VtoursBusinessobjectModel 3.3.14FK - jar vtours VtoursConstants 3.3.14FK - jar vtours VtoursDatastore 3.3.14FK - jar vtours VtoursUtil 3.3.14FK - jar vtours VtoursXMixUtil 3.3.16FK - jar xalan xalan 2.7.0 - jar xerces xercesImpl 2.4.0 - jar xerces xmlParserAPIs 2.2.1 - jar xml-apis xml-apis 1.0.b2 - jar --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Jerome Lacoste --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
