Total Pageviews

2019/02/11

[Java] BEA-380001-Internal Server Error

Scenario



How-To
The root cause is unknown. But comparing with workable client code with non-workable client code, there has one difference in package-info.java.

The package-info.java in workable client code is:
@javax.xml.bind.annotation.XmlSchema(namespace = "http://test.com", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package demo.ws.bind.test1;


The package-info.java in non-workable client code is:
package demo.ws.bind.test2;

Therefore, as I add annotation above package, the problem had been resolved.

No comments: