Skip to main content

Unable to create JAXBContext with latest source code

  1 post   Feedicon  
Replies: 0 - Last Post: June 05, 2013 04:36
by: Thang
showing 1 - 1 of 1
Posted: June 05, 2013 04:36 by Thang
I got the newest source code & generate the hotfolders.jar, but got this exception


Jun 05, 2013 11:16:01 AM oracle.irm.hotfolders.HotFolders <init> INFO: 1 IRM servers defined Exception in thread "main" javax.xml.ws.WebServiceException: Unable to create JAXBContext

...

Caused by: java.security.PrivilegedActionException: com.sun.xml.internal.bind.v2
.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
java.lang.StackTraceElement does not have a no-arg default constructor.
this problem is related to the following location:
at java.lang.StackTraceElement
at public java.lang.StackTraceElement[] java.lang.Throwable.getS
tackTrace()
at java.lang.Throwable
at java.lang.Exception
at oracle.irm.proxy._11g.UnknownDomainFault
at public javax.xml.bind.JAXBElement oracle.irm.proxy._11g.Objec
tFactory.createUnknownDomainFault(oracle.irm.proxy._11g.UnknownDomainFault)
at oracle.irm.proxy._11g.ObjectFactory



but the jar from this project is able to run, I think it is because of WSDL generate from 'Version = Oracle WebServices (11.1.1.0.0, build 090601.1016.39267)'

I use 11.1.1.7, so how to generate these WSDL java.

Thanks
Replies: 0 - Last Post: June 05, 2013 04:36
by: Thang
 
 
Close
loading
Please Confirm
Close