Meaningless Drivel is fun!
The moose likes Ant, Maven and Other Build Tools and the fly likes Build Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Build Problem " Watch "Build Problem " New topic

Build Problem

mukesh Srivastava

Joined: Jun 22, 2010
Posts: 1
while i am trying to build my project through Ant(using build.xml and pom.xml) i am getting problem of NoSuchMethodFoundError.
can any one help me in figure out why i am getting this problem....
Thanks in advance
Log Deatils
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

mukesh Srivastava wrote:Hi,
while i am trying to build my project through Ant...

Let's move this to the Ant forum, then.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Mukesh, welcome to Java Ranch!

Please do not use large blocks of colored text - it makes your post harder to read. Instead, use the code tags for posting console output or source code (I modified your post for you to correct this).

Without knowing the contents of your build, it is hard to say what is wrong. If the build.xml is short, post the whole thing (don't forget the code tags!), if it is long post only the "generate-jaxb-source" target and any relevant initialization information.

JBoss In Action
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 10033

Try with another version of Ant... may be 1.7...

SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
I agree. Here's the link:
subject: Build Problem
jQuery in Action, 3rd edition