Mike Mootin

Greenhorn
+ Follow
since Sep 29, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mike Mootin

I am using a tag in my ant build (1.7.1), and am executing it from within Eclipse. I have it set to "use same JRE as workspace". When Ant goes to execute the beanshell script, I am getting the error "java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory". However I can clearly see that Ant is on the classpath (see attachment).

I have also tried moving the jar into ANT_HOME/lib and get the same results. Using give "C:\ganymede2\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar" - not at all useful of course.

What's strange is that when I execute Ant using a separate JRE (instead of the workspace one), Ant is able to load the commons logging class, but then I run into other problems related to eclipse compiler-related stuff not being on the classpath.

I recently upgraded to using Java 1.6, so thought it might be related. However, switching back to 1.5 doesn't make any difference.
14 years ago