XDoclet 1.2 uses Jakarta Commons Logging, 
(http://jakarta.apache.org/commons/logging/api/index.html) which can use 
JDK1.4 logging or Log4J logging (which was chosen) under the hood.

Thus, you need commons-logging.jar in your claspathref in your ejbdoclet 
taskdef.  You can get it from your xdoclet cvs workspace in 
xdoclet-all/xdoclet/lib/commons-logging.jar.

David

--

tek1 wrote:
> i'm trying to use the latest cvs version of xdoclet (1.2) in my project, 
> but i'm getting the below error.  do we need to include apache's 
> commons.jar in the classpath also now?
> 
> BUILD FAILED
> d:\dev\samples\castor\user2\build.xml:166: Could not create task of 
> type: ejbdoc
> let due to java.lang.NoClassDefFoundError: 
> org/apache/commons/logging/LogFactory
> 
> looking at the error, i thought that log4j (which i have on my 
> classpath) was being used for logging?
> 
> thank you.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to