找不到"网络逻辑。服务器",当从IntelliJ IDEA运行WebLogic时


/Users/zzw/Middleware/wls1036/domain/startWebLogic.sh
/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java -Dfile.encoding=UTF-8 -classpath "/Users/zzw/Middleware/wls1036/wlserver/server/lib/weblogic.jar:/Users/zzw/Middleware/wls1036/wlserver/server/lib/wljmxclient.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/weblogicIntegration/lib/weblogicIntegration.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/JavaEE/lib/javaee-impl.jar:/Applications/IntelliJ IDEA.app/Contents/lib/openapi.jar:/Applications/IntelliJ IDEA.app/Contents/lib/util.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/weblogicIntegration/lib/specifics/weblogicSpecifics.jar" com.intellij.javaee.oss.process.JavaeeProcess 49987 com.intellij.javaee.weblogic.agent.WebLogicAgent9
Detected server http port: 7001
.
java version "1.7.0_80"
.
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m  -XX:MaxPermSize=128m
.
WLS Start Mode=Development
.
CLASSPATH=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/lib/tools.jar:/wlserver/server/lib/weblogic_sp.jar:/wlserver/server/lib/weblogic.jar:/modules/features/weblogic.server.modules_10.3.6.0.jar:/wlserver/server/lib/webservices.jar:/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/wlserver/common/derby/lib/derbyclient.jar:/wlserver/server/lib/xqrl.jar
.
PATH=/wlserver/server/bin:/modules/org.apache.ant_1.7.1/bin:/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/bin:/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http://hostname:port/console        *
***************************************************
starting weblogic with Java version:
Starting WLS with line:
/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java -client   -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m  -XX:MaxPermSize=128m -Dweblogic.Name=myserver -Djava.security.policy=/wlserver/server/lib/weblogic.policy -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:50485,suspend=y,server=n  -Xverify:none  -da -Dplatform.home=/wlserver -Dwls.home=/wlserver/server -Dweblogic.home=/wlserver/server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole=  weblogic.Server
[2017-05-04 12:05:31,905] Artifact shuangdeng:war: Server is not connected. Deploy is not available.
Connected to the target VM, address: '127.0.0.1:50485', transport: 'socket'
错误: 找不到或无法加载主类 weblogic.Server
Disconnected from the target VM, address: '127.0.0.1:50485', transport: 'socket'
Disconnected from server

错误:找不到或加载类weblogic.Server

我很确定,如果您手动在想法之外启动服务器,那么您会遇到相同的问题,因此这实际上不是一个想法问题。

请在您的startweblogic.sh中查看环境变量(路径和类路径(,显然,服务器已移至/Users/zzw/Middleware/...,而它们仍在指向/wlserver/server/...

相关内容

  • 没有找到相关文章

最新更新