-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: java.lang.NoSuchMethodError: xdoclet.DocletTask.getXJavaDoc
PostPosted: Sat Feb 28, 2004 3:35 pm 
Beginner
Beginner

Joined: Sun Sep 07, 2003 9:04 am
Posts: 48
Hello forum, i am trying to automaticaly genete some hbm.xml files from some java source files .
Here is the target I run in the build.xml, when I run it I get the errors that comes after the target


*************************************************************
<target name="julius">
<taskdef
name="hibernatedoclet"
classname="xdoclet.modules.hibernate.HibernateDocletTask"
classpathref="lib.class.path"
/>

<hibernatedoclet
destdir="${build.dir}"
mergedir="${build.dir}"
excludedtags="@version,@author,@todo,@see"
addedtags="@xdoclet-generated at ${TODAY},
@copyright The XDoclet Team,@author XDoclet,@version ${version}"
force="false"
verbose="true">
<fileset dir="${test.dir}">
<include name="**/test/to/*.java"/>
<include name="**/test/exceptions/*.java"/>
</fileset>
<hibernate version="2.0"/>
</hibernatedoclet>
</target>

*************************************************************

julius:
[hibernatedoclet] java.lang.NoSuchMethodError: xdoclet.DocletTask.getXJavaDoc()Lxjavadoc/XJavaDoc;
[hibernatedoclet] at xdoclet.DocletTask.start(DocletTask.java:464)
[hibernatedoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:69)
[hibernatedoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
[hibernatedoclet] at org.apache.tools.ant.Task.perform(Task.java:401)
[hibernatedoclet] at org.apache.tools.ant.Target.execute(Target.java:338)
[hibernatedoclet] at org.apache.tools.ant.Target.performTasks(Target.java:365)
[hibernatedoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
[hibernatedoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
[hibernatedoclet] at org.apache.tools.ant.Main.runBuild(Main.java:669)
[hibernatedoclet] at org.apache.tools.ant.Main.startAnt(Main.java:220)
[hibernatedoclet] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
[hibernatedoclet] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)

BUILD FAILED
C:\hibernate-2.1.2\hibernate-2.1\build.xml:564: Unexpected error


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 01, 2004 12:24 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Check you jars and CP, there should be a mismatch somewhere

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.