Hi all,
Judging by some older emails I think the funny error message was supposed to be
fixed...
BUILD FAILED
\build.xml:1165: Class Not Found: Classloader URLs (classpath):
The answer I found only when running Ant with -d -v:
[...]
Caused by: java.lang.ClassNotFoundException: Classloader URLs (classpath):
at
org.nanocontainer.DefaultNanoContainer$URLPrintingClassLoader.findClass(DefaultNanoContainer.java:169)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at
org.nanocontainer.DefaultNanoContainer$URLPrintingClassLoader.loadClass(DefaultNanoContainer.java:159)
... 21 more
Caused by: java.lang.ClassNotFoundException:
com.xdoclet2tutorial.plugin.command.CommandPlugin
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at
org.nanocontainer.DefaultNanoContainer$URLPrintingClassLoader.findClass(DefaultNanoContainer.java:167)
... 24 more
[...]
because I was trying the Ant example from the website:
<component classname="com.xdoclet2tutorial.plugin.command.CommandPlugin"
destdir="${build.java.dir}" />
The error comes as expected, but the message is completely misleading. As the
error seems to be thrown by the nanocontainer, where can this issue be
filed/searched?
Thanks a lot,
M
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user