myeclipse+weblogic运行报错

来源:互联网 发布:淘宝卖家论坛手机版 编辑:程序博客网 时间:2024/05/16 17:38

Exception in thread "main" java.lang.AssertionError: JAX-WS 2.2 API is required, but an older version was found in the JDK.

Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/).

1) locate the bundled Java EE 6 endorsed directory in $WL_HOME/endorsed.

2) copy those JAR files to $JAVA_HOME/jre/lib/endorsed OR add the endorsed directory to the value specified by system property


关于这个错误网上有很多文章都是copy jar包之类的,发现只需改weblogic的jdk即可。


0 0