cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prempalod <rahulpalod...@gmail.com>
Subject java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
Date Sat, 12 Aug 2017 09:54:03 GMT
Hi All,

I am upgrading from cxf 2.3.0 to cxf 3.1.11,

I am getting the following exception in JAXBContextCache.class file,

java.security.PrivilegedActionException:
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of
IllegalAnnotationExceptions
No element mapping exists for
"http://fmw/xsd/cei/v1":"commonEventInformation"
	this problem is related to the following location:
		at
@javax.xml.bind.annotation.XmlElementDecl(substitutionHeadName=commonEventInformation,
defaultValue=some symbol, substitutionHeadNamespace=http://fmw/xsd/cei/v1,
scope=class javax.xml.bind.annotation.XmlElementDecl$GLOBAL,
namespace=http://nra/xsd/tca/v1, name=thresholdCrossingAlert)
		at public javax.xml.bind.JAXBElement
org.nra.xsd.tca.v1.ObjectFactory.createThresholdCrossingAlert(org.nra.xsd.tca.v1.ThresholdCrossingAlertType)
		at org.nra.xsd.tca.v1.ObjectFactory
		at protected javax.xml.bind.JAXBElement
org.nra.xsd.tca.v1.ThresholdCrossingAlertType.thresholdValue
		at org.nra.xsd.tca.v1.ThresholdCrossingAlertType
		at @javax.xml.bind.annotation.XmlSeeAlso(value=[class
org.nra.xsd.alm.v1.AlarmType, class
org.fmw.xsd.avc.v1.AttributeValueChangeType, class
org.fmw.xsd.oc.v1.ObjectCreationType, class
org.fmw.xsd.odel.v1.ObjectDeletionType, class
org.fmw.xsd.sc.v1.StateChangeType, class
org.fmw.xsd.fts.v1.FileTransferStatusType, class
org.fmw.xsd.hbt.v1.HeartbeatType, class
org.nra.xsd.tca.v1.ThresholdCrossingAlertType])
		at @javax.xml.bind.annotation.XmlSeeAlso(value=[class
org.fmw.xsd.ei.v1.EventInformationType, class
org.nra.xsd.eps.v1.EquipmentProtectionSwitchType, class
org.nra.xsd.pmpsc.v1.PerformanceMonitoringPointStateChangeType, class
org.nra.xsd.ps.v1.ProtectionSwitchType])
		at protected java.util.List
org.fmw.xsd.notmsg.v1.Notify$Message.commonEventInformation
		at org.fmw.xsd.notmsg.v1.Notify$Message
		at protected org.fmw.xsd.notmsg.v1.Notify$Message
org.fmw.xsd.notmsg.v1.Notify.message
		at org.fmw.xsd.notmsg.v1.Notify
		at public org.fmw.xsd.notmsg.v1.Notify
org.fmw.xsd.notmsg.v1.ObjectFactory.createNotify()
		at org.fmw.xsd.notmsg.v1.ObjectFactory


while performing the operation 

ctx = AccessController.doPrivileged(new
PrivilegedExceptionAction<JAXBContext>() {
                public JAXBContext run() throws Exception {

These objectFactory files are created by passing few arguments to wsdl2Java
class files.

Is there any problem with jaxb-binding being done here..



Thanks,
Prem



--
View this message in context: http://cxf.547215.n5.nabble.com/java-security-PrivilegedActionException-com-sun-xml-bind-v2-runtime-IllegalAnnotationsException-1-cos-tp5782639.html
Sent from the cxf-user mailing list archive at Nabble.com.

Mime
View raw message