File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Multiple annotations found at this line: <Maven POM> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Multiple annotations found at this line: <Maven POM>" Watch "Multiple annotations found at this line: <Maven POM>" New topic
Author

Multiple annotations found at this line: <Maven POM>

Karnati Sudhakar
Ranch Hand

Joined: Aug 26, 2008
Posts: 270

Hi All,

I just downloaded petclinic sample spring application from this location .

Eclipse is showing the below error in the POM file that came with the application:




Because of these errors,the required libraries are missing on the build path.

Any idea on this?

Regards
Sudhakar
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11465
    
  94

Can you download and install it from the command line?



If you can build it from the command line then it is more likely to be an Eclipse issue.

From within Eclipse I tried this as "New Project" -> "Maven Project" -> "From SCM" -> "svn (with URL)". Everything checked out and built correctly. Zero errors and 62 warnings within Eclipse. I'm using Eclipse Galileo with the m2 plugin.


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Karnati Sudhakar
Ranch Hand

Joined: Aug 26, 2008
Posts: 270

Andrew Monkhouse wrote:
From within Eclipse I tried this as "New Project" -> "Maven Project" -> "From SCM" -> "svn (with URL)". Everything checked out and built correctly. Zero errors and 62 warnings within Eclipse. I'm using Eclipse Galileo with the m2 plugin.


I tried this in office and it is working,it gave me around 50 warnings..

Thanks Andrew for your time & reply..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple annotations found at this line: <Maven POM>