Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes IDEs, Version Control and other tools and the fly likes Maven project in eclipse do not show compilation errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Maven project in eclipse do not show compilation errors" Watch "Maven project in eclipse do not show compilation errors" New topic
Author

Maven project in eclipse do not show compilation errors

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 227
Hi all,

In Eclipse no maven project is not showing compilation errors.
How to configure eclipse so that it shows compilations errrors in java files for Maven projects?


Thanks in Advance,
Kousik
saurav sarkar
Ranch Hand

Joined: Jan 07, 2007
Posts: 180

Kousik,

Do you have M2Eclipse installed in your IDE?


Be Objectively Oriented.Explore the power of OOPs.
My Blog, Eclipse EMF Query committer.
Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 227
Hi sourav,

M2 maven is installed in my Eclipse 3.4.2.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

I think you misunderstood saurav who was asking if you installed the m2ecliplse plugin into Eclipse, not whether you have installed Maven 2. That plugin will generate proper Maven-based projects within Eclipse.

Is the base source folder registered in Eclipse as a source folder? Are the .java source files being opened by the Java Editor?


JBoss In Action
Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 227
Is the base source folder registered in Eclipse as a source folder? Are the .java source files being opened by the Java Editor?


1. Source folde ris registered as Maven folder.
2. Yes, .java source files are opened by Java Editor
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven project in eclipse do not show compilation errors
 
Similar Threads
Maven unable to read the libraries from repository
Running hammurapi using Maven
Need help building my first maven project in Eclipse
Libraries not visible under projects java build path in eclipse
Managing multi-module maven project inside Eclipse