23 Haziran 2010 Çarşamba

Error : Java Web service. Unable to create JAXBContext

if you get the following error while deploying the web service:

Exception occured in the wsgen process javax.xml.ws.
WebServiceException: Unable to create JAXBContext build-impl.xml

it is probably because of a class with both publicly accessable members and getters/ setters..
If you make the members privately accessable or delete getter/setter methods, the error will be fixed:
see this: http://stackoverflow.com/questions/1198462/problem-with-java-web-service-unable-to-create-jaxbcontext

Hiç yorum yok:

Yorum Gönder