2014-06-26 257 views
1

我在Windows上使用WSO2 ESB 4.8.1和JDK 1.7.0_60,並在啓動服務器時出現以下錯誤。運行wso2 esb服務器

Microsoft Windows [Version 6.1.7601] 
Copyright (c) 2009 Microsoft Corporation. All rights reserved. 

C:\Users\WIN>"C:\Program Files\wso2esb-4.8.1\bin\wso2server.bat" --run 
JAVA_HOME environment variable is set to C:\Program Files\Java\jdk1.7.0_60 
CARBON_HOME environment variable is set to C:\PROGRA~1\WSO2ES~1.1\bin\.. 
Could not load Logmanager "org.apache.juli.ClassLoaderLogManager" 
java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager 
     at java.net.URLClassLoader$1.run(URLClassLoader.java:366) 
     at java.net.URLClassLoader$1.run(URLClassLoader.java:355) 
     at java.security.AccessController.doPrivileged(Native Method) 
     at java.net.URLClassLoader.findClass(URLClassLoader.java:354) 
     at java.lang.ClassLoader.loadClass(ClassLoader.java:425) 
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) 
     at java.lang.ClassLoader.loadClass(ClassLoader.java:358) 
     at java.util.logging.LogManager$1.run(LogManager.java:191) 
     at java.security.AccessController.doPrivileged(Native Method) 
     at java.util.logging.LogManager.<clinit>(LogManager.java:181) 
     at java.util.logging.Logger.demandLogger(Logger.java:339) 
     at java.util.logging.Logger.getLogger(Logger.java:393) 
     at com.sun.jmx.remote.util.ClassLogger.<init>(ClassLogger.java:55) 
     at sun.management.jmxremote.ConnectorBootstrap.<clinit>(ConnectorBootstrap.java:823) 
     at sun.management.Agent.startLocalManagementAgent(Agent.java:144) 
     at sun.management.Agent.startAgent(Agent.java:264) 
     at sun.management.Agent.startAgent(Agent.java:456) 
Error: Could not find or load main class org.wso2.carbon.bootstrap.Bootstrap 

回答

2

我有同樣的JDK測試並沒有得到這個錯誤在Windows 8.1和Windows 7 就可以啓動服務器了「--run」和檢查?

+0

這是我的錯誤。我沒有複製全套的wso庫。請儘可能刪除此問題。抱歉,添麻煩了。 – swami