MyEclipse下 Weblogic启动错误:
<1>、错误:
E:\bea\user_projects\.\config.xml not found
Since no config.xml was found, the fileRealm.properties file will not be used.
Would you like the server to create a default configuration and boot? (y/n):
原因:
Execution domain root没配置正确;需要将此目录配置到准确的域domain,如:base_domain这个文件夹下;
<2>错误:
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 java.endorsed.dirs.
at utils.ValidateJavaEE6EndorsedOverrides.validateLib(ValidateJavaEE6EndorsedOverrides.java:55)
at utils.ValidateJavaEE6EndorsedOverrides.validateEndorsedOverrides(ValidateJavaEE6EndorsedOverrides.java:32)
at weblogic.Server.main(Server.java:61)
原因, $JAVA_HOME/jre/lib目录下缺少endorsed 下文件,将\Oracle_Home\oracle_common\modules下的endorsed 文件全部拷贝到当前MyEclipse所用的JDK下/jre/lib/中即可!