facebook

WebProject incorrectly created as J2EE1.3

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

    jccartwright
    Member

    Hello,

    I have an existing project that I use the “MyEclipse->Add WebProject Capabilities” to add J2EE support. I’m careful that the J2EE1.4 radio button is selected, but the project is enabled as J2EE1.3 despite my user selection.

    Can anyone help me with this?

    Environment is Eclipse 3.0.1, MyEclipse 3.8.3, RedHat Linux Enterprise WS 3, JDK1.5

    Thanks!

    — john

    #223024 Reply

    Riyad Kalla
    Member

    John,
    How do you know the project is enabled as 1.3? Does the project already have an existing web.xml file in it and did you already have the 1.3 library set added to your classpath? What is the contents of your .mymetadata file in your project root? (use navigator view to view it).

    #223066 Reply

    jccartwright
    Member

    The .metadata file listed 1.3, and when I went to add JSTL support, it wouldn’t let me use JSTL1.1, complaining that J2EE1.3 was in use.

    The existing project had no web.xml nor WEB-INF prior to using myeclipse to add web project capabilities.

    Thanks!

    — john

    @support-rkalla wrote:

    John,
    How do you know the project is enabled as 1.3? Does the project already have an existing web.xml file in it and did you already have the 1.3 library set added to your classpath? What is the contents of your .mymetadata file in your project root? (use navigator view to view it).

    #223068 Reply

    Riyad Kalla
    Member

    Hmm. Can you try the following:
    1) Create a new J2EE 1.4 Web project, was it correctly created?
    2) Create a new Java Project, add web caps to it as J2EE 1.4, did it work?
    3) Check your log file (workspace dir\.metadata\.log) for exceptions pertaining to new project wizard

    #223098 Reply

    jccartwright
    Member

    @support-rkalla wrote:

    Hmm. Can you try the following:
    1) Create a new J2EE 1.4 Web project, was it correctly created?
    2) Create a new Java Project, add web caps to it as J2EE 1.4, did it work?
    3) Check your log file (workspace dir\.metadata\.log) for exceptions pertaining to new project wizard

    1) creating a new J2EE project via myeclipse works fine

    2) creating a new Java project and adding web capabilities to it results in a J2EE1.3 project regardless on radio button selection

    3) no entries in the .log regarding these operations

    You mentioned once before MyEclipse’s preference for the “exploded war” format. Is it looking a the project directory structure to determine whether the project can be J2EE1.4?

    Thanks again!

    — john

    #223103 Reply

    Riyad Kalla
    Member

    John,
    I cannot reproduce this problem for the life of me… can you try to shut down MyEclipse. Change your shortcut to include the -clean command line argument, start it back up and select a brand new workspace and then try adding Web capabilities to a Java project to see if it works?

    Also no the project structure didn’t change between specs so that doesn’t effect it.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: WebProject incorrectly created as J2EE1.3

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