facebook

Maven4MyEclipse is not working on version 6.5.1

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #293206 Reply

    mengmvn
    Member

    I just installed MyEclipse 6.5.1 version. I have some maven2 java project instored in the cvs repo. However when I check out the java project, highlight the pom.xml, I see the Maven4MyEclipse, but however it is not working. The Maven Dependencies Folder is not automatically created.

    Can someone tell me why ? or how to make my existing maven2 java project to be maven enable in MyEclipse on 6.5.1 ?

    Thanks
    Meng

    #293236 Reply

    Loyal Water
    Member

    The existing maven project was created using MyEclipse ? Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    #293255 Reply

    mengmvn
    Member

    Project created by JBuilder. When we use MyEclipse 5.5.1, we install the m2eclipse to make the project maven enable. It works fine with m2clipse, maven dependency, maven goals, everything works just perfect.

    We need to move to MyEclipse 6.5.1, according to the doc, I do not need to install the m2eclipse, the Maven4MyEclipse should work, but however, it is not.
    I also try install the m2eclipse, it is not working either.

    The Maven4MyEclipse showup, but nothing show as “enable maven dependency” or something like this. it is empty and when you click, nothing happend.

    Second issues–

    Normally in 5.5.1, We can select any java file with main class, right click and hit run as “Java Application”, now in 6.5.1, it gave me the message, saying
    java.lang.NoClassDefFoundError… Exception in thread “main”, each time, developer need to open the Java Application config and change its Classpath by –> Advanced–> add folder to add it to the generated classes location. For example, the default is laww, now in the User Entries, it looks like “classes \laww\” , we got to do this for each file we want to run as Java application. Is there any globle setting for the classpath, or how to fix this problem ?
    (BTW, we change the build path, the output location from laww/bin to laww/classes)

    Please help, we need to got this resolved asap for use to cotinune working with MyEclipse. Thanks a lot!

    #293256 Reply

    mengmvn
    Member

    *** Date:
    Thursday, January 8, 2009 11:41:53 AM CST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.5.1 GA
    Build id: 6.5.1-GA-20080715

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.5.1 GA
    Build id: 6.5.1-GA-20080715

    Eclipse Graphical Editing Framework

    Version: 3.3.2.v20080129
    Build id: 20080221-1602

    Eclipse Platform

    Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
    Build id: M20080221-1800

    Eclipse RCP

    Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
    Build id: M20080221-1800

    Eclipse Java Development Tools

    Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
    Build id: M20080221-1800

    Eclipse Plug-in Development Environment

    Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
    Build id: M20080221-1800

    Eclipse Project SDK

    Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
    Build id: M20080221-1800

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\tmp\MyEclipse6.5\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\tmp\MyEclipse6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
    -startup
    C:\tmp\MyEclipse6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
    -exitdata
    970_48
    -clean
    -vm
    C:\tmp\MyEclipse6.5\jre\bin\javaw.exe

    #293296 Reply

    mengmvn,
    MyEclipse 6.5 has limited Maven support. Can you consider moving to 6.6 or 7.0?

    #293302 Reply

    mengmvn
    Member

    Thanks a lot. I will mentioned this to my company see if they can approve for the 7.0 version

    How about the second questions — run as “Java Application”,
    If we change the “Java Build Path” –> “Default output folder” location from projectname/target/classes to projectname/classes (remove the target). When click a java file and choose run as java application, it give the error message — java.lang.NoClassDefFoundError… Exception in thread “main”. Seems the “User Entries” of the projectname under the Classpath of Java Application can not find its compiled classes.

    this happens on 5.5.1, 6.5.1 and 7.0 version.

    Developers need to open the Java Application config and change its Classpath by –> Advanced–> add folder to add it to the generated classes location. For example, the default is laww, now in the User Entries, it looks like “classes \laww\” , we got to do this for each file we want to run as Java application. Is there any globle setting for the classpath, or how to fix this problem ?

    Thanks in advance.

    Mengmvn

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Maven4MyEclipse is not working on version 6.5.1

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