Web 服务在 Eclipse/WebLogic 中运行良好,但是当通过构建脚本构建 ear 并将 ear 部署在独立的 WebLogic 实例上时出现以下错误。为什么在不同的环境中会出现这个错误?
[HTTP:101216]Servlet: "MyServiceServlethttp" failed to preload on startup in Web application: "MyApp-WS". java.lang.InternalError
at com.sun.xml.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getClassValue(RuntimeInlineAnnotationReader.java:139)
at com.sun.xml.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getClassValue(RuntimeInlineAnnotationReader.java:53)
at com.sun.xml.bind.v2.model.impl.PropertyInfoImpl.isApplicable(PropertyInfoImpl.java:212)
at com.sun.xml.bind.v2.model.impl.PropertyInfoImpl.getApplicableAdapter(PropertyInfoImpl.java:223)
...