dubbo项目启动报错,无法加载org.apache.zookeeper.server.ZooTrace

xiaoxiao2021-02-28  72

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完美解决问题。
转载请注明原文地址: https://www.6miu.com/read-66910.html

最新回复(0)