1. 程式人生 > >dubbo專案啟動報錯,無法載入org.apache.zookeeper.server.ZooTrace

dubbo專案啟動報錯,無法載入org.apache.zookeeper.server.ZooTrace


INFO: Server startup in 3425 ms
七月 11, 2017 3:06:04 下午 org.apache.catalina.loader.WebappClassLoaderBase loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.zookeeper.server.ZooTrace.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1777)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1155)
今天自己搭了個dubbo,啟動專案時報以上錯誤,搞了半天發現是我的zookeeper-3.3.1.jar版本太低,改成了zookeeper-3.4.6.jar完美解決問題。