[infinispan-dev] JAXB error during schema generation
Mircea Markus
mircea.markus at jboss.com
Mon Nov 21 16:55:43 EST 2011
After updating from Git I get the following error[1]
Guess it has to do with the new config changes?
[1]
Generating schema file in /Users/mmarkus/github/ispn/core/src/main/resources/schema
Failed generating schema file com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions
JAXB annotation is placed on a method that is not a JAXB property
this problem is related to the following location:
at @javax.xml.bind.annotation.XmlAttribute(name=##default, required=false, namespace=##default)
at org.infinispan.config.GlobalConfiguration$ExecutorFactoryType
at org.infinispan.config.GlobalConfiguration$ExecutorFactoryType org.infinispan.config.GlobalConfiguration.asyncListenerExecutor
at org.infinispan.config.GlobalConfiguration
at private final org.infinispan.config.GlobalConfiguration org.infinispan.config.InfinispanConfiguration.global
at org.infinispan.config.InfinispanConfiguration
JAXB annotation is placed on a method that is not a JAXB property
this problem is related to the following location:
at @javax.xml.bind.annotation.XmlElement(nillable=false, name=properties, required=false, defaultValue=, type=class javax.xml.bind.annotation.XmlElement$DEFAULT, namespace=##default)
at org.infinispan.config.GlobalConfiguration$FactoryClassWithPropertiesType
at org.infinispan.config.GlobalConfiguration$ExecutorFactoryType
at org.infinispan.config.GlobalConfiguration$ExecutorFactoryType org.infinispan.config.GlobalConfiguration.asyncListenerExecutor
at org.infinispan.config.GlobalConfiguration
at private final org.infinispan.config.GlobalConfiguration org.infinispan.config.InfinispanConfiguration.global
at org.infinispan.config.InfinispanConfiguration
JAXB annotation is placed on a method that is not a JAXB property
this problem is related to the following location:
at @javax.xml.bind.annotation.XmlAttribute(name=##default, required=false, namespace=##default)
at org.infinispan.config.GlobalConfiguration$ScheduledExecutorFactoryType
at org.infinispan.config.GlobalConfiguration$ScheduledExecutorFactoryType org.infinispan.config.GlobalConfiguration.evictionScheduledExecutor
at org.infinispan.config.GlobalConfiguration
at private final org.infinispan.config.GlobalConfiguration org.infinispan.config.InfinispanConfiguration.global
at org.infinispan.config.InfinispanConfiguration
com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions
JAXB annotation is placed on a method that is not a JAXB property
this problem is related to the following location:
at @javax.xml.bind.annotation.XmlAttribute(name=##default, required=false, namespace=##default)
at org.infinispan.config.GlobalConfiguration$ExecutorFactoryType
at org.infinispan.config.GlobalConfiguration$ExecutorFactoryType org.infinispan.config.GlobalConfiguration.asyncListenerExecutor
at org.infinispan.config.GlobalConfiguration
at private final org.infinispan.config.GlobalConfiguration org.infinispan.config.InfinispanConfiguration.global
at org.infinispan.config.InfinispanConfiguration
JAXB annotation is placed on a method that is not a JAXB property
this problem is related to the following location:
at @javax.xml.bind.annotation.XmlElement(nillable=false, name=properties, required=false, defaultValue=, type=class javax.xml.bind.annotation.XmlElement$DEFAULT, namespace=##default)
at org.infinispan.config.GlobalConfiguration$FactoryClassWithPropertiesType
at org.infinispan.config.GlobalConfiguration$ExecutorFactoryType
at org.infinispan.config.GlobalConfiguration$ExecutorFactoryType org.infinispan.config.GlobalConfiguration.asyncListenerExecutor
at org.infinispan.config.GlobalConfiguration
at private final org.infinispan.config.GlobalConfiguration org.infinispan.config.InfinispanConfiguration.global
at org.infinispan.config.InfinispanConfiguration
JAXB annotation is placed on a method that is not a JAXB property
this problem is related to the following location:
at @javax.xml.bind.annotation.XmlAttribute(name=##default, required=false, namespace=##default)
at org.infinispan.config.GlobalConfiguration$ScheduledExecutorFactoryType
at org.infinispan.config.GlobalConfiguration$ScheduledExecutorFactoryType org.infinispan.config.GlobalConfiguration.evictionScheduledExecutor
at org.infinispan.config.GlobalConfiguration
at private final org.infinispan.config.GlobalConfiguration org.infinispan.config.InfinispanConfiguration.global
at org.infinispan.config.InfinispanConfiguration
at com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:91)
at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:436)
at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:277)
at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1100)
at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:143)
at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:202)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:376)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
at org.infinispan.util.JaxbSchemaGenerator.main(JaxbSchemaGenerator.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:290)
at java.lang.Thread.run(Thread.java:680)
More information about the infinispan-dev
mailing list