简体   繁体   中英

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 Clean
  • mvn compile

Maven compiles fine.

However if I run mvn clean compile I get a lot of errors that that don't make sense such as:

[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. Once I compiled it things worked fine. Thanks for helping me think through it guys.

Ole

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM