Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我收到 java.lang.NoClassDefFoundError: org/apache/log4/Level。
我不是java人,但可以阅读代码。我应该怎么做才能摆脱这个异常?这个异常真的和cassandra hector api无关,为什么困扰我?
谢谢!
您在类路径中缺少 log4j jar。运行应用程序时,使用命令-cp上的选项指定类路径。java
-cp
java