[英]Maven Compiling After Eclipse Clean Only
I'm using Eclipse Mars 4.5.1, Maven 3.0.5, and Java 8. If I do the following: 我正在使用Eclipse Mars 4.5.1,Maven 3.0.5和Java8。如果执行以下操作:
mvn compile
Maven compiles fine. Maven编译良好。
However if I run mvn clean compile
I get a lot of errors that that don't make sense such as: 但是,如果我运行
mvn clean compile
则会得到很多没有道理的错误,例如:
[ERROR] /home/ole/Sandbox/math/firefly-math-linear-real/src/main/java/com/fireflysemantics/math/linear/exceptions/LinearExceptionFactory.java:[23,1] cannot find symbol
[ERROR] symbol: static MATRIX_DIMENSION_MISMATCH__OPERATE
[ERROR] location: class
Thoughts? 有什么想法吗?
One of my local dependencies was not current in the Maven repository. 我的本地依赖项之一在Maven存储库中不是最新的。 Once I compiled it things worked fine.
编译后,一切正常。 Thanks for helping me think through it guys.
感谢您帮助我仔细思考。
Ole 奥莱
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.