Hi, I am having trouble running xdoclet in Eclipse, using the ant
plug-in for eclipse. See stack trace at the end. The version information
is:
Eclipse 2.0
Ant 1.5.1
Xdoclet 1.2
Common logging 1.02
Log4j 1.2.7
JDK 1.4 (Sun)

It seems the problem is related to common logging and log4j. I've tried
different approaches, such as setting up classpath to include
everything, put every jar files in the ext directory of the jre and/or
copy all the jar files to the ant plug-in directory and modified
plugin.xml to include these. Unfortunately none of these approaches
worked for me. Runing the tasks from the command line is fine.

Any ideas or suggestions are greatly appreciated. 

Weiguo


Build exception: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log
Build exception: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImp
l.java:555)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp
l.java:289)
        at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
        at xdoclet.util.LogUtil.getLog(LogUtil.java:26)
        at
xdoclet.loader.ModuleFinder.findModules(ModuleFinder.java:109)
        at xdoclet.DocletTask.registerModules(DocletTask.java:542)
        at xdoclet.DocletTask.createDynamicElement(DocletTask.java:338)
        at
org.apache.tools.ant.IntrospectionHelper.createElement(IntrospectionHelp
er.java:510)
        at
org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:2
12)
        at
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:1
22)
        at org.apache.tools.ant.Task.perform(Task.java:318)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1250)
        at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunne
r.java:269)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.eclipse.ant.core.AntRunner.run(AntRunner.java:188)
        at
org.eclipse.ui.externaltools.internal.core.AntFileRunner.execute(AntFile
Runner.java:58)
        at
org.eclipse.ui.externaltools.internal.core.DefaultRunnerContext.executeR
unner(DefaultRunnerContext.java:334)
        at
org.eclipse.ui.externaltools.internal.core.DefaultRunnerContext.run(Defa
ultRunnerContext.java:384)
        at
org.eclipse.ui.externaltools.internal.ui.AntLaunchWizard$1.run(AntLaunch
Wizard.java:116)
        at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalCon
text.java:98)
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log
        at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFact
oryImpl.java:420)
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImp
l.java:548)
        ... 25 more
Caused by: org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log
        at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFact
oryImpl.java:416)
        ... 26 more
Build exception: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log


-------------------------------------------------------
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