- This topic has 10 replies, 3 voices, and was last updated 20 years, 11 months ago by
arnor.
-
AuthorPosts
-
arnorMemberHi to the list,
I am not sure that the problem it’s MyEclipse anyway:
When I launch build.xml I get this error:
BUILD FAILED: Unable to load default ProjectHelper due to java.lang.NoClassDefFoundError: org/xml/sax/SAXExceptionI use:
j2re1.4.2_03
winXp
eclispe:
Version: 3.0.0
Build id: 200403261517
myEclipse:
Version: 3.7.2
Build id: 200404091200-3.7.2GAWith
j2re1.4.2_03
winXp
eclipse:
Version: 3.0.0
Build id: 200402122000
myEclipse:
Version: 3.7.0
Build id: 20040305-3.7.0It work fine. Any Idea?
tks in advace Lorenzo
Riyad KallaMemberLorenzo,
I think this thread will help: https://www.genuitec.com/forums/topic/error-when-running-xdoclet/&highlight=projecthelper
arnorMemberThanks rkalla for the answer.
In eclipse -> Project the fatures Build All & Build Project is disable. :/
I have create a small ejb example but when I launch Xdoclet I don’t got any feedback.
Any Idea?
Lorenzo
Scott AndersonParticipantIn eclipse -> Project the fatures Build All & Build Project is disable. :/
This is the Eclipse team experimenting with the build options. If you have the autobuild feature turned off, M8 now disables manual builds.
I have create a small ejb example but when I launch Xdoclet I don’t got any feedback.
Do you have any entries in your log file at <workspace>/.metadata/.log?
arnorMemberIn my log when I start eclipse I found this:
!SESSION apr 29, 2004 12:35:31.202 ———————————————
java.version=1.4.2_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
!ENTRY org.eclipse.osgi apr 29, 2004 12:35:31.202
!MESSAGE Bundle reference:file:c:/Program Files/eclipse_3.0_M8/plugins/org.eclipse.debug.ui_3.0.0/ [19] was not resolved
!ENTRY org.eclipse.osgi apr 29, 2004 12:35:31.212
!MESSAGE Bundle reference:file:c:/Program Files/eclipse_3.0_M8/plugins/org.eclipse.jdt.debug_3.0.0/ [28] was not resolvedWhen I launch Xdoclet I don’t get any feedback from my eclipse. When I try with ant I get: “BUILD FAILED: Unable to load default ProjectHelper”.
any Idea why Xdoclet and Ant don’t run properly?tks in advance Lorenzo
Riyad KallaMemberLorenzo,
Check out this thread, https://www.genuitec.com/forums/topic/error-when-running-xdoclet/&highlight=projecthelper, I believe it will help you.
arnorMember@link by support-rkalla wrote:
Solution (at least it helped me ):
Go to Window>>Preferences>>Ant>>Runtime>>Classpath>>Ant Home Entries and add these 2 External JARs:%ECLIPSE_HOME%\plugins\org.apache.xerces_4.0.13\xercesImpl.jar
%ECLIPSE_HOME%\plugins\org.apache.xerces_4.0.13\xmlParserAPIs.jar
…where %ECLIPSE_HOME% is your base Eclipse directory (e.g. C:\Eclipse)
When I run Ant the error is changed, now 🙂
output:
Buildfile: C:\Program Files\eclipse_3.0_M8\workspace\videoComunity\build.xml
init:
[echo] classpath = C:\Program Files\eclipse_3.0_M8\workspace\videoComunity/build/ant
compile_all:
[flash] Flash compiling C:\Program Files\eclipse_3.0_M8\workspace\videoComunity\src flash\flash_detection.fla
BUILD FAILED: java.lang.NoSuchMethodError
Total time: 1 secondany Idea?
regards Lorenzo
Riyad KallaMember[flash] Flash compiling C:\Program Files\eclipse_3.0_M8\workspace\videoComunity\src flash\flash_detection.fla
BUILD FAILED: java.lang.NoSuchMethodErrorAre you missing a library in your classpath that provides the Ant task to compile flash files? The “NoSuchMethodFound” suggests to me that is what is going on… when your build used to work, were you using a different version of Ant? (1.5.x) and now are trying to use 1.6.x?
arnorMemberI think the problem is the new version of Eclipse 3.0M8 because in Eclipse 3.0M7 all work fine. I have changed in 3.0M7 ant home with the 3.0M8 path, too. All work fine than I thinks the problem is Eclispe.
I will post to eclipse forum.
Regards Lorenzo
Riyad KallaMemberThank you Lorenzo for following up with us, I hope the Eclipse guys help you out.
arnorMemberYou can close this post 🙂
the problem was jvm. In Ant home the jre was 1.3.x -_-‘anyway many thanks
Lorenzo
-
AuthorPosts