Home > java > Maven Compiling After Eclipse Clean Only

Maven Compiling After Eclipse Clean Only

January 22Hits:1
Advertisement

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?

Answers

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

Tags:java, eclipse, maven

Related Articles

  • Maven Compiling After Eclipse Clean OnlyJanuary 22

    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/f

  • Maven Incremental Compilation under EclipseJanuary 28

    I've recently converted a big (and ugly) legacy project to Maven. It is a really really huge project (~2.7M lines of code, and a nice mix of java, jsp, js, and even VBS scripts) and is not well structured. Everything is located under a single Maven a

  • Scala/Java Project not finding Dependencies during Maven compile

    Scala/Java Project not finding Dependencies during Maven compileFebruary 8

    I have a Java/Scala hybrid project. When building in Intellij, things work fine. However, trying to run Maven builds from command line is giving me this error when running 'mvn clean install': [ERROR] /IdeaProjects/user-lib-common/src/main/scala/com/

  • maven compile ambiguous when create custom interface CrudDao and CrudRepository (spring-data-jpa)February 17

    I made a interface CrudDao.java public interface CrudDao<T extends Entity<ID>, ID extends Serializable> { <S extends T> save (S entity); } @NoRepositoryBean public interface GenericCrudDao<T extends GenericEntity> extends CrudDao&l

  • IntelliJ with Maven compilationApril 15

    I have a project that needs Hibernate jars. I added them as dependencies in the pom.xml and Maven compiles my project well. However, in the IDE, all annotations and calls to Hibernate API are marked as unresolved (red). How could I get IntelliJ being

  • How to install C++ compiler for EclipseJanuary 15

    Im unable to run my C++ codes because Eclipse has not c++ compiler installed in it . How can I install C++ compiler for eclipse on Fedora 20 or other linux os's? When I execute my codes it says: Launch fails. Binary not found. --------------Solutions

  • Error when traying build Tapi3 c++ example using migw compiler in eclipseJanuary 15

    i have a probleme when i try to build this tapi3 c++ example using mingGw w64 compiler in eclipse, i have followed the ewample from msdn step by step #include <iostream> #include <tapi3.h> using namespace std; int main() { // Initialize COM. H

  • Difference in creating a Spring/Hibernate/Maven project in Eclipse and through Command LineJanuary 22

    What is the difference in creating a Spring/Hibernate/Maven project in Eclipse using New > Project > Maven > Maven Project, and through Command Line using mvn archetype:generate? Thanks

  • Updating maven project in eclipse with new maven archetypeFebruary 5

    Currently I'm working with the Eclipse IDE (Eclipse Java EE IDE for Web Developers, Luna Service Release 2 (4.4.2)). At the moment I have a maven Remote Catalog, that refers to a repository on a Nexus Repository Manager OSS. In this repository there

  • How to make maven-compiler-plugin not hide error source locationsFebruary 7

    Maybe there is a maven-compiler-plugin option for this, but I haven't found it. When javac is run directly and prints an error, after the first line of the message, it shows the affected line of source with a caret on the next line pointing to the er

  • Maven build in Eclipse Luna IDEFebruary 17

    I want to develop a simple test program as maven project in eclipse IDE. What are the prerequisite and procedure to run this program. --------------Solutions------------- Check the answers from this post: Maven in Eclipse: step by step installation T

  • xml-maven-plugin in Eclipse - Plugin execution not covered by lifecycle configurationFebruary 4

    I have a Maven project that I can compile and test successfully with mvn clean install. For Maven the Eclipse Java EE IDE has a feature to import Existing Maven Projects. This does not work without problems unfortunately. Eclipse will show many build

  • What is the difference between Maven build and Maven build- in Eclipse?

    What is the difference between Maven build and Maven build- in Eclipse?January 21

    I am new to eclipse and programming , so probably a silly question. According to me build just makes jar file but maven install deploys it to local repo thats m2 . Also there are two options for build ->maven build and-> maven build.. Could u explai

  • Automatic Install of Maven Projects in Eclipse upon BuildFebruary 4

    Is there a way to let eclipse automatically run 'mvn install' when it builds a project (e.g. when a source file in the project is changed)? My problem at the moment is that I have a large number of projects in eclipse, each of which is a Maven projec

  • Eclipse "clean" reinstall unable to updateJanuary 8

    I managed to botch up my eclipse installation by installing a plugin (MOTODEV studio). In an attempt to fix the problem I decided to go ahead and do a full reinstall of Eclipse. I followed the suggestion in this post to remove eclipse and delete the

  • Self-Contained Application Packaging for java swing maven project in eclipseJanuary 26

    I want to make a self-contained package (including jre 8). I have a Maven project developed in Eclipse. I have read that JavaFX has support for building towards different platforms (Windows, Mac, Linux). What is the best way forward? I know there is

  • Why does my Maven build of Eclipse (Galileo) fail?January 28

    I am trying to build Galileo with Maven on Windows 10. The build being done at the DOS prompt not within Eclipse. The plugin requires org.mozilla.rhino but it fails download. Builds of all other versions Helios-Mars build perfectly ok In my parent po

  • How to integrate a KARAF Maven archetype into ECLIPSEFebruary 5

    I'm new to OSGi and Karaf and have understanding problem how to integrate a Maven generated POM into Eclipse. I've created a Maven Karaf archetype using the "karaf-bundle-archetype" as described on the Karaf tutorial [link] mvn archetype:generat

  • Error while creating simple maven project in eclipse(Mars)February 11

    I am new to the maven, like to create spring integration using maven in eclipse(mars). But getting below while creating the maven project in my local machine. Kindly help me on this. Errors occurred during the build. Errors running builder 'Maven Pro

  • Error occured during build while doing maven install in eclipse keplerFebruary 17

    Am new to spring framework. i installed Spring STS from eclipse marketplace. Then i right click my project -->Run As --> Maven Install. Errors occurred during the build. Errors running builder 'Maven Project Builder' on project 'IngramNew'. Could no

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.376 s.