facebook

BUILD FAILED: Unable to load default ProjectHelper [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #206012 Reply

    arnor
    Member

    Hi 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/SAXException

    I use:
    j2re1.4.2_03
    winXp
    eclispe:
    Version: 3.0.0
    Build id: 200403261517
    myEclipse:
    Version: 3.7.2
    Build id: 200404091200-3.7.2GA

    With
    j2re1.4.2_03
    winXp
    eclipse:
    Version: 3.0.0
    Build id: 200402122000
    myEclipse:
    Version: 3.7.0
    Build id: 20040305-3.7.0

    It work fine. Any Idea?

    tks in advace Lorenzo

    #206029 Reply

    Riyad Kalla
    Member
    #206050 Reply

    arnor
    Member

    Thanks 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

    #206181 Reply

    Scott Anderson
    Participant

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

    #206500 Reply

    arnor
    Member

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

    When 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

    #206502 Reply

    Riyad Kalla
    Member

    Lorenzo,
    Check out this thread, https://www.genuitec.com/forums/topic/error-when-running-xdoclet/&highlight=projecthelper, I believe it will help you.

    #206526 Reply

    arnor
    Member

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

    any Idea?

    regards Lorenzo

    #206536 Reply

    Riyad Kalla
    Member

    [flash] Flash compiling C:\Program Files\eclipse_3.0_M8\workspace\videoComunity\src flash\flash_detection.fla
    BUILD FAILED: java.lang.NoSuchMethodError

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

    #206568 Reply

    arnor
    Member

    I 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

    #206570 Reply

    Riyad Kalla
    Member

    Thank you Lorenzo for following up with us, I hope the Eclipse guys help you out.

    #206573 Reply

    arnor
    Member

    You can close this post 🙂
    the problem was jvm. In Ant home the jre was 1.3.x -_-‘

    anyway many thanks

    Lorenzo

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: BUILD FAILED: Unable to load default ProjectHelper [Closed]

You must be logged in to post in the forum log in