• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven project in eclipse do not show compilation errors

 
Kousik Majumder
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
saurav sarkar
Ranch Hand
Posts: 180
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kousik,

Do you have M2Eclipse installed in your IDE?
 
Kousik Majumder
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi sourav,

M2 maven is installed in my Eclipse 3.4.2.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Kousik Majumder
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic