facebook

add J2EE librarys to a existing project

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #272673 Reply

    jonagy
    Member

    if im trying to add the J2EE libs to one existing java project im getting one error.

    the steps are:
    Properties/Java build Path/Libraries/Add Library/Myeclipse/
    if im trying to select the J2EE1.3 or 1.4 libs im getting the errormessage:
    “Error occured see errorlog for more details…”

    where is the errorlog ?
    what causing this error ?

    ty jozsi

    eclipse:
    Version: 3.2.2
    Build id: M20070212-1330

    MyEclipse Web Development Tooling
    Version: 5.5.1
    Build id: 20070521-5.5.1-GA

    #272678 Reply

    Loyal Water
    Member

    Hi Jozsi,
    This is a known issue with MyEclipse 5.5.1. Im sorry you ran into it. This will be fixed in the MyEclipse 6.0 release.

    ps – The error logs can be found <workspace>/.metadata/.log

    #272692 Reply

    zartc
    Member

    @support-nipun wrote:

    Hi Jozsi,
    This is a known issue with MyEclipse 5.5.1. Im sorry you ran into it. This will be fixed in the MyEclipse 6.0 release.

    ps – The error logs can be found <workspace>/.metadata/.log

    Same problem here.
    !ENTRY org.eclipse.jface 4 2 2007-07-13 14:56:22.350
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.core.librarymgmt.ModuleManager.getRequiredModules(ModuleManager.java:93)
    at com.genuitec.eclipse.core.librarymgmt.MELibraryWizardPage.selectDependentLibrariesIfNeeded(MELibraryWizardPage.java:207)

    I’m in the early days of porting an existing Eclipse project under MyEclipse, in an attempt to demonstrate the gain in ease of development and productivity that we can expect.

    This bug is a complete show stopper for us: If we can not add a library as an afterthought or if we can’t reinstall a library after having wrongly removed it then productivity is likely to drop to zero.

    Either we can entrust MyEclipse on such a fundamental task as adding and removing libraries as often as necessary, or we can’t and the game is over.

    We do not expect to switch to MyEclipse 6.0 for as long as there is still a part of the development team locked with Eclipse 3.2.2

    What is the workaround, or the quick-fix, for the time beeing ?

    ZartC

    #272833 Reply

    Loyal Water
    Member

    This would be fixed in MyEclipse 6.0M2.

    The workaround for this issue in 5.5 is to create a new User Library named J2EEE 1.4 and add the jars from “<MyEclipse installation directory> \ myeclipse \ eclipse \ plugins \ com.genuitec.eclipse.j2eedt.core_5.5.0 \ data \ libraryset \ 1.4” to this library and then add this User Library to the project.

    #273934 Reply

    Tom Murray
    Participant

    I am also in need of the workaround for this issue. I guess I can create a new WebApp using J2EE 1.4 and copy all of my code, but that seems very work intensive. Please give us another way.

    Thanks!

    #273935 Reply

    Tom Murray
    Participant

    @support-nipun wrote:

    This would be fixed in MyEclipse 6.0M2.

    The workaround for this issue in 5.5 is to create a new User Library named J2EEE 1.4 and add the jars from “<MyEclipse installation directory> \ myeclipse \ eclipse \ plugins \ com.genuitec.eclipse.j2eedt.core_5.5.0 \ data \ libraryset \ 1.4” to this library and then add this User Library to the project.

    Sorry, I did not see this replay for some rason before I replied earlier. I now have a question on this workaround. I am a WSAD/RAD user primarily. So, how do I create a “Library” definition in MEIDE? Do I just generate another Java Project?

    Thanks again.

    #273941 Reply

    zartc
    Member

    @tmurray50 wrote:

    @support-nipun wrote:

    This would be fixed in MyEclipse 6.0M2.

    The workaround for this issue in 5.5 is to create a new User Library named J2EEE 1.4 and add the jars from “<MyEclipse installation directory> \ myeclipse \ eclipse \ plugins \ com.genuitec.eclipse.j2eedt.core_5.5.0 \ data \ libraryset \ 1.4” to this library and then add this User Library to the project.

    Sorry, I did not see this replay for some rason before I replied earlier. I now have a question on this workaround. I am a WSAD/RAD user primarily. So, how do I create a “Library” definition in MEIDE? Do I just generate another Java Project?

    Thanks again.

    No need to create a new project.
    You need to create a new user libray
    the steps are:
    from window/Preferences…
    select Java/Build Path/User Libraries
    then click on the new… button,
    name the new library “j2ee 1.4”,
    then use the “add jars…” button to add the jars from “<MyEclipse installation directory> \ myeclipse \ eclipse \ plugins \ com.genuitec.eclipse.j2eedt.core_5.5.0 \ data \ libraryset \ 1.4” to this library. That’s it.

    To use it:
    Remove the J2EE 1.4 library that ME add in your project and remplace it by your user library.

    Hope this help.
    ZC

    #273954 Reply

    Loyal Water
    Member

    Thanks for the post ZC.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: add J2EE librarys to a existing project

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