美文网首页
java.lang.NoClassDefFoundError:

java.lang.NoClassDefFoundError:

作者: 索隆大大 | 来源:发表于2017-03-27 16:19 被阅读94次

这个错误,网上找了好多解决办法,都不正确,最后在Stack Overflow找到了原因:

原文地址:http://stackoverflow.com/questions/30302612/tomcat-java-lang-noclassdeffounderror-could-not-initialize-class

重点是下面这句话:
If an exception is propagating out of the constructor of the class or a static initializer, then you also get java.lang.NoClassDefFoundError: Could not initialize class ...

相关文章

网友评论

      本文标题:java.lang.NoClassDefFoundError:

      本文链接:https://www.haomeiwen.com/subject/uburottx.html