cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Tam (JIRA)" <>
Subject [jira] Created: (CXF-1711) Server failed to start and receieved IllegalAnnotationExceptions
Date Mon, 21 Jul 2008 16:41:31 GMT
Server failed to start and receieved IllegalAnnotationExceptions 

                 Key: CXF-1711
             Project: CXF
          Issue Type: Bug
          Components: JAXB Databinding
    Affects Versions: 2.0.7
            Reporter: William Tam
            Priority: Critical
             Fix For: 2.0.8

Un-tar the attached tarball in the samples directory, then change to mtosi_v2/alarm_retrieval
directory and run "ant server".  The following stackstrace can be reproduced.  (It requires
ACTIVEMQ_VERSION and ACTIVEMQ_HOME to be set).  it works find in 2.1.

     [java] Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException:
1 counts of IllegalAnnotationExceptions
     [java] No element mapping exists for "
     [java]     this problem is related to the following location:
     [java]             at @javax.xml.bind.annotation.XmlElementDecl(namespace=h
ttp://, defaultValue= , substitutionHeadName=
commonEventInformation, scope=class javax.xml.bind.annotation.XmlElementDecl$GLO
BAL, substitutionHeadNamespace=, name=
     [java]             at public javax.xml.bind.JAXBElement
     [java]             at

     [java]     at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Build
     [java]     at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JA
     [java]     at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContex
     [java]     at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFacto
     [java]     at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFacto
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
     [java]     at java.lang.reflect.Method.invoke(
     [java]     at javax.xml.bind.ContextFinder.newInstance(
     [java]     at javax.xml.bind.ContextFinder.find(
     [java]     at javax.xml.bind.JAXBContext.newInstance(
     [java]     at org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContext(JAXBDat
     [java]     at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBindin
     [java]     ... 14 more
     [java] Java Result: 1

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message