java.lang.ClassNotFoundException: org.objectstyle.woproject.ant.WOFramework
java.lang.ClassNotFoundException: org.objectstyle.woproject.ant.WOFramework
- Subject: java.lang.ClassNotFoundException: org.objectstyle.woproject.ant.WOFramework
- From: "Ricardo J. Parada" <email@hidden>
- Date: Tue, 28 Oct 2008 13:28:55 -0400
Hi,
I have WOLips nightly and I created a framework project. When I run
"ant -verbose install" from the command line it fails with the
following stack trace and an error saying that the class
org.objectstyle.woproject.ant.WOFramework was not found. Any ideas
what I may have wrong in my setup? Do I need to have the woproject
jars for ant updated as well??
Apache Ant version 1.7.0 compiled on August 25 2008
Buildfile: build.xml
Detected Java version: 1.5 in: /System/Library/Frameworks/
JavaVM.framework/Versions/1.5.0/Home
Detected OS: Mac OS X
parsing buildfile /Users/ricardo/MPV/head/Frameworks/MPVAjax/build.xml
with URI = file:/Users/ricardo/MPV/head/Frameworks/MPVAjax/build.xml
Project base dir set to: /Users/ricardo/MPV/head/Frameworks/MPVAjax
Build sequence for target(s) `install' is [setProps, init.install,
build.woframework, install]
Complete build sequence is [setProps, init.install, build.woframework,
install, clean, init.build, compile, compileAndBuild, build, ]
setProps:
[antlib:org.apache.tools.ant] Could not load definitions from resource
org/apache/tools/ant/antlib.xml. It could not be found.
[property] Loading /Users/ricardo/build.properties
[property] Unable to find property file: /Users/ricardo/
build.properties
[property] Loading /Users/ricardo/MPV/head/Frameworks/MPVAjax/
build.properties
[property] Loading /Users/ricardo/Library/wobuild.properties
init.install:
build.woframework:
BUILD FAILED
/Users/ricardo/MPV/head/Frameworks/MPVAjax/build.xml:46: taskdef class
org.objectstyle.woproject.ant.WOFramework cannot be found
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:
609)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:228)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
105)
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:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org
.apache
.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:
41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.Main.runBuild(Main.java:698)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ClassNotFoundException:
org.objectstyle.woproject.ant.WOFramework
at
org
.apache
.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:
1383)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:
1324)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:
1072)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:
583)
... 18 more
--- Nested Exception ---
java.lang.ClassNotFoundException:
org.objectstyle.woproject.ant.WOFramework
at
org
.apache
.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:
1383)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:
1324)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:
1072)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:
583)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:228)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
105)
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:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org
.apache
.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:
41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.Main.runBuild(Main.java:698)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Total time: 0 seconds
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden