Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
来源:互联网 发布:linux的书籍推荐 编辑:程序博客网 时间:2024/05/21 10:34
今天用maven编译文件,报了这个错。经过一番折腾,发现并不是项目的问题,而是maven本身损坏了,重装maven后解决。
总结:如果使用maven编译的时候,瞬间报异常,那么可以考虑可能并不是项目的问题,这个时候直接打maven命令试试。比如直接命令行中输入:mvn -version,如果还是报异常那么重装maven吧。
阅读全文
0 0
- Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
- Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/Nestabl
- Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/Nestabl
- Spring Exception:Exception in thread "main" java.lang.NoClassDefFoundError:org/apache/commons/loggin
- Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap
- Exception in thread "main " java.lang.NoClassDefFoundError: org/apache/commons/logging/Log
- Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
- 解决Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
- Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
- 项目提示:Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactor
- Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections/ExtendedPr
- Exception in thread "main" java.lang.NoClassDefFoundError: org/jaxen/JaxenException
- Exception in thread "main" java.lang.NoClassDefFoundError: org/odmg/DSet
- Exception in thread "main" java.lang.NoClassDefFoundError: org.jaxen.NamespaceContext
- Exception in thread "main" java.lang.NoClassDefFoundError: org/json/JSONException
- Exception in thread "main" java.lang.NoClassDefFoundError: org.jaxen.NamespaceContext
- Exception in thread "main" java.lang.NoClassDefFoundError: org.jaxen.NamespaceContext
- Exception in thread "main" java.lang.NoClassDefFoundError: org/json/JSONException
- XYNU—ACM暑假集训第一次测试
- SpeechClassifier API 与端点检测
- Android View
- python的可变与不可变数据类型
- Spring Boot使用mybatis 入门
- Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
- C# string类型和byte[]类型相互转换
- CentOS 7 为firewalld添加开放端口及相关资料
- GLM(广义线性模型) 与 LR(逻辑回归) 详解
- MiniXml中文手册
- Proguard代码混淆
- 解决PermGen space
- 机器学习笔记(二) 神经网络
- 数学建模算法 一 简述(4)主成分分析(PCA)