Try running maven with the -e option so you can see the full stack trace of the exception. This should reveal that the taskdef could not be found because there is some dependent class that could not be found. Perhaps you need to add xjavadoc to the classpath.
> -----Original Message----- > From: Nathan Coast [mailto:[EMAIL PROTECTED] > Sent: Monday, June 28, 2004 3:21 AM > To: Maven Users List > Subject: Re: xdoclet plugin problem > > > I just modified the xdoclet plugin in accordance with the docs and I get > back to the original problem of: > > taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found > > any suggestions as to how to fix the problem without the root > classloader workaround? > > Nathan Coast wrote: > > > well I fixed (workaround) the problem by using the deprecated > > > > <properties> > > <classloader>root</classloader> > > </properties> > > > > for the plugin's dependencies . > > > > I checked the FAQ http://maven.apache.org/faq.html#classloader-property > > as instructed by the deprecation warning. Does this mean the xdoclet > > team need to update their plugin? > > > > cheers > > Nathan > > > > Nathan Coast wrote: > > > >> Hi, > >> > >> I've just started trying to use ejbdoclet task from the xdoclet plugin > >> with maven rc3 and I'm getting the following error: > >> > >> taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found > >> > >> If I output the classpath passed to the taskdef command, I get the > >> following: > >> > D:\apache\Maven-1.0-rc3\repository\xdoclet\jars\xdoclet-ejb-module > -1.2.jar;D:\apache\Maven-1.0-rc3\repository\xdoclet\jars\xdoclet-j > boss-module-1.2.jar;D:\apache\Maven-1.0-rc3\repository\xdoclet\jar > s\xdoclet-jmx-module-1.2.jar;D:\apache\Maven-1.0-rc3\repository\jb > oss\jars\jboss-j2ee-3.2.3.jar;D:\apache\Maven-1.0-rc3\repository\x > doclet\jars\xdoclet-1.2.jar;D:\apache\Maven-1.0-rc3\repository\xdo > clet\jars\xdoclet-xdoclet-module-1.2.jar;D:\apache\Maven-1.0-rc3\r > epository\commons-collections\jars\commons-collections-2.1.jar;D:\ > apache\Maven-1.0-rc3\repository\commons-logging\jars\commons-loggi > ng-1.1-dev.jar;D:\apache\Maven-1.0-rc3\repository\log4j\jars\log4j > -1.2.6.jar > >> > >> > >> xdoclet.modules.ejb.EjbDocletTask is within the jar: > >> > D:\apache\Maven-1.0-rc3\repository\xdoclet\jars\xdoclet-ejb-module > -1.2.jar > >> > >> > >> any ideas? > >> > >> is anyone successfully using the xdoclet plugin with maven rc3? > >> > >> cheers > >> Nathan > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
