facebook

Jar file reference

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #239727 Reply

    csrini
    Member

    Where do i find the reference to the Jar file for thr following: com.genuitec.eclipse.j2eedt.core.J2EE13_CONTAINER

    Eclipse gives me an error saying that the reference is not there in the project configuration. Can you tell me which jar file to put in the configuration?

    #239789

    Riyad Kalla
    Member

    That environment variable refers to our J2EE 1.3 classpath container (it contains many JARs). If you go to your Library tab for your Project build bath, and click Add Library, then J2EE 1.3 Library Set, that should work.

    #239825

    csrini
    Member

    When i go to Add library i do not have J2EE 1.3 library set in that.
    Maybe i havent set it properly..
    can you tell me which is the library set that i need to have?
    My other project in another workspace is working fine, but the project in this workspace is having this error.
    If you can give me the jar file or something that i can search for, i can get it from that project workspace and set it here.

    Thanks.

    #239827

    Riyad Kalla
    Member

    There is no “jar file”, the J2EE classpath container is a collection of JARs we ship with the MyEclipse product.

    What version of MyEclipse do you have installed, you can find that at: window > Prefs> MyEclipse

    Also what version of Eclipse (Help > About)?

    #240131

    Jim Jarrett
    Member

    How do you define, or perhaps redefine the library sets?

    I am using WebLogic 8.1sp3 as my AS, and I keep running into problems where I get ClassNotFound errors because the library set that MyEclipse, by default chose to use, has JBoss JAR files listed in it.

    I include WebLogic’s weblogic.jar file in every project I work on, which seems to have almost everything I need, but it conflicts with the set in the default J2EE 1.4 library set. For example, my app uses a configuration class that implements NotificationBroadcaster. Whenever I try to run a test harness in Eclipse, I get java.lang.NoClassDefFoundError: org/jboss/mx/notification/ListenerRegistry, because the J2EE 1.4 Library set doesn’t contain the complete set of JARs to implement that; weblogic.jar, however, does.

    I understand that weblogic.jar is probably proprietary, but it took me most of a day to track down this conflict, and that MyEclipse by default, was including that set of JAR files.

    Is there some way to redefine that library set? Or better still, detect what AS you have chosen and change/warn you?

    #240132

    Riyad Kalla
    Member

    jrjarrett,
    In this case it sounds like you just may want to remove the J2EE 1.4 Library Set from your build path and simply add weblogic.jar, would this not be a solution for you?

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Jar file reference

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