package com.sun.xml.internal.bind.marshaller not exist

问题:在源码里引入com.sun.xml.internal.bind.marshaller.CharacterEscapeHandler后,编译时出现错误:

package com.sun.xml.internal.bind.marshaller not exist;

解决方法:编译时加上参数 -XDignore.symbol.file=true

com.sun包下面的都可以通过加此参数通过编译。

猜你喜欢

转载自waisam.iteye.com/blog/2265929