aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes ArtifactTransferException: Could not transfer artifact org.antlr:antlr:jar:3.2 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 "ArtifactTransferException: Could not transfer artifact org.antlr:antlr:jar:3.2" Watch "ArtifactTransferException: Could not transfer artifact org.antlr:antlr:jar:3.2" New topic
Author

ArtifactTransferException: Could not transfer artifact org.antlr:antlr:jar:3.2

Eric Fancis
Greenhorn

Joined: Jun 14, 2011
Posts: 29
How do I fix an error like this in eclipse?

I am really new to Spring and Maven.

Thanks!


http://www.h4t3r.com
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1680
    
    7

Sounds like a maven error, so I moved it to our build tools forum. Which Eclipse are you using? What maven plugin do you have installed? Are you behind a proxy? What is the full stack trace?


[How To Ask Questions][Read before you PM me]
Eric Fancis
Greenhorn

Joined: Jun 14, 2011
Posts: 29
Bill Gorder wrote:Sounds like a maven error, so I moved it to our build tools forum. Which Eclipse are you using? What maven plugin do you have installed? Are you behind a proxy? What is the full stack trace?


So many questions!

Eclipse 3.7
Maven Plug in: Comiler plugin? 2.3.2


Proxy is not an issue. I have my settings.xml set
How do I get the full stack trace?

Thanks!
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

Could you try running the build from the command line and posting the full mvn output? Most likely you don't have access to the repository that Maven is attempting to get the antlr JAR from.


JBoss In Action
Eric Fancis
Greenhorn

Joined: Jun 14, 2011
Posts: 29
Peter Johnson wrote:Could you try running the build from the command line and posting the full mvn output? Most likely you don't have access to the repository that Maven is attempting to get the antlr JAR from.


I fixed it. I changed Antlr to version 3.4. Deleted that part of my repo. In Eclipse, I configured my project as a Maven project (oops), and then ran .

Thanks!
 
jQuery in Action, 2nd edition
 
subject: ArtifactTransferException: Could not transfer artifact org.antlr:antlr:jar:3.2