File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven not showing full error description

 
Adam San
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I use Maven 3.0.4

When executing mvn compile it displays errors like this:



As far as I am concerned (for example) error "cannot find symbol" should look like this:
cannot find symbol
symbol : class PointOfContact
location: class com.whatever.GenericSettings

It should state what symbol cannot be found etc. and it's not displayed.

The details are not given for any errors.
It's the same with mvn compile -e


Is there a way to change it?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like you might be using JDK 7 - for some reasons the JDK 7 compiler doesn't display the syntax error details. (Note that the compilation error messages that are display come from the JDK's compiler, not from Maven.)
 
Adam San
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I use jdk7 !
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic