看https://developer.ibm.com/answers/questions/200553/jaxb-datatypeconverter-throws-nullpointerexception.html
This have been resolved by changing the 3rd party code to not use DatatypeConverter.,To correct this, we requested that a 3rd party API supplier change their code so that it does not use DatatypeConverter.
查确实是改过jdk。当时用weblogic时与与jdk1.7有兼容问题,在%JAVA_HOME%/jre/lib/endorsed下加了javax.xml.bind_2.1.1.jar之类文件覆盖系统的jar,直接删除就好了(不用weblogic了)。
本文介绍了解决因使用JAXB DatatypeConverter而导致的NullPointerException问题的方法。通过请求第三方API供应商更改代码以避免使用DatatypeConverter,并通过调整JDK设置解决了与WebLogic和JDK1.7之间的兼容性问题。

1296

被折叠的 条评论
为什么被折叠?



