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>错误:
Exceptioninthread"main"java.lang.AssertionError:JAX-WS2.2APIisrequired,butanolderversionwasfoundintheJDK.
Usetheendorsedstandardsoverridemechanism(http://java.sun.com/javase/6/docs/technotes/guides/standards/).
1)locatethebundledJavaEE6endorseddirectoryin$WL_HOME/endorsed.
2)copythoseJARfilesto$JAVA_HOME/jre/lib/endorsedORaddtheendorseddirectorytothevaluespecifiedbysystempropertyjava.endorsed.dirs.
atutils.ValidateJavaEE6EndorsedOverrides.validateLib(ValidateJavaEE6EndorsedOverrides.java:55)
atutils.ValidateJavaEE6EndorsedOverrides.validateEndorsedOverrides(ValidateJavaEE6EndorsedOverrides.java:32)
atweblogic.Server.main(Server.java:61)
原因,$JAVA_HOME/jre/lib目录下缺少endorsed 下文件,将\Oracle_Home\oracle_common\modules下的endorsed 文件全部拷贝到当前MyEclipse所用的JDK下/jre/lib/中即可!
原文链接:https://www.f2er.com/xml/299904.html