facebook

Struts version problem

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

    icon911
    Member

    Hi I just got eclipse and myeclipse 030804 configured, I created new J2ee Web project and copie my struts application in there and got it to deploy to Tomcat so everything works fine. However, when I view properties of the project MyEclipse-Struts says Jakarta Struts 1.0.

    Whe I try to add a new Struts 1.2 Action I get an error:

    The activate Struts 1.2 Wizard can not be used with the selectd Struts 1.0 project.

    Than,

    All MyEclipse Struts 1.2 wizards require at least one property configured Struts 1.2 project exist in your workspace.

    No idea whats wrong, I do have Struts UserLibrary added to the projet, I do have all my struts config files start with:

    <!DOCTYPE struts-config PUBLIC “-//Apache Software Foundation//DTD Struts Configuration 1.2//EN” “http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd”&gt;

    and I do have struts-config_1_2.dtd in the web-inf folder, realy lost in there. Any ideas?

    Thanks.

    #225012 Reply

    Riyad Kalla
    Member

    The quick way around this is to create a new Web Project, add struts capabilities to it and be sure to select Struts 1.2 for the Struts version.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Struts version problem

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