Bug #4808
closedant clean-cache fails, NoClassDefFoundError, org/apache/commons/logging/LogFactory
0%
Description
Chris first reported this by e-mail, but I'm still seeing it. Aaron, svn says you put these lines in.
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.kepler.util.DotKeplerManager.<clinit>(DotKeplerManager.java:54)
at org.kepler.build.CleanCache.run(CleanCache.java:48)
at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:86)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j\
ava:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess\
orImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java\
:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExec\
utor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Updated by David Welker almost 15 years ago
I am working on this bug now. It will be fixed shortly.
Updated by David Welker almost 15 years ago
This is fixed. Logging and third-party libraries should generally be kept out of the build. If you need a third-party library that is not already present in the build, please discuss with me first.
Thanks.