facebook

Not able to create Struts 1.2 Action

💡
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. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #253550 Reply

    pantechno
    Member

    I get following error while trying to create a new Struts 1.2 action class from myeclipse
    Following is the config info in my struts-config.xml. Please tell me what to do.

    <!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;

    No available Struts 1.2 projects found in workspace. All MyEclipse Struts 1.2 wizards
    require at least 1 properly configured Struts 1.2 project exist in your workspace.
    If your workspace current contains Struts 1.2 projects please ensure that they are opened and
    that their web.xml is valid.

    #253604

    Riyad Kalla
    Member

    You need to right click on the project you want MyEclipse to treat as a Struts project, and go to MyEclipse > Add Struts Capabilities, then you can use MyEclipse to manage the Struts features.

    #254876

    jbalestrero
    Member

    I’m having the same problem. When I right click my project I get the options Add Spring Capabilities, Add WebProject Capabilities, Add Hibernate Capabilities, but no Struts option.

    Any idea how to fix the problem?

    Thanks in advance.

    Juliana Balestrero

    #254878

    Riyad Kalla
    Member

    Juliana,
    Your project is not a web project, it is a plain Java project. So first you need to Add webproject capabilities, then you can add Struts capabilities.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Not able to create Struts 1.2 Action

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