1

我有一个使用 jax-ws 2.2 创建的网络服务,我的目标是让测试连接到 glassfish 并表现得像一个真正的客户端,但我遇到了这个异常:

tried to access method com.sun.xml.ws.policy.PolicyMapMutator.connect(Lcom/sun/xml/ws/policy/PolicyMap;)V from class com.sun.xml.ws.policy.parser.WsitPolicyResolver
java.lang.IllegalAccessError: tried to access method com.sun.xml.ws.policy.PolicyMapMutator.connect(Lcom/sun/xml/ws/policy/PolicyMap;)V from class com.sun.xml.ws.policy.parser.WsitPolicyResolver

我正在使用 junit 4/jax-ws 2.2 和 glassfish 3.1.1

谢谢。

4

0 回答 0