I saw this problem when the xdoclet jars were not in ${xdoclet.classpath}.
If they're not in the classpath when xdoclet runs, you'd have a problem.
Also make sure that your J2EE jars are also in your ${xdoclet.classpath}.-----Original Message----- From: Marco Garbelini [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 12:13 PM To: [EMAIL PROTECTED] Subject: Re: [Xdoclet-user] Problem If you are using the 1.2b3 version, this is probably the xjavadoc problem. If so, download xjavadoc from xdoclet site and include it in your classpath. If not so, run ant with -debug and check the stacktrace for the real cause. ----- Original Message ----- From: "Nikolay Ganev" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 07, 2003 1:00 PM Subject: [Xdoclet-user] Problem > hi all, > i receive this exception when executing build.xml ... i think that > source java file(containing xdoclet tags) is not accessed ... could you help? > > > > > this is the excepiton: > > [ejbdoclet] Make sure the jar file containing the ejbdoclet class is on the clas > spath specified in the <taskdef> that defined {2}. These classes are needed in o > rder to generate correct output. > [ejbdoclet] at xdoclet.DocletTask.checkClass(DocletTask.java:501) > [ejbdoclet] at xdoclet.modules.ejb.EjbDocletTask.validateOptions(EjbDocletTa > sk.java:82) > [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:53) > [ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja > va:193) > [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:341) > [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309) > [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336) > [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) > > [ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1255 > ) > [ejbdoclet] at org.apache.tools.ant.Main.runBuild(Main.java:609) > [ejbdoclet] at org.apache.tools.ant.Main.start(Main.java:196) > [ejbdoclet] at org.apache.tools.ant.Main.main(Main.java:235) > > BUILD FAILED > > -- > Best regards, > Nikolay mailto:[EMAIL PROTECTED] > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
