facebook

Problem to add struts capability

💡
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 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #241055 Reply

    cctang
    Member

    My web app is running struts 1.2. When I tried to add struts capability to it, I got a error popup,

    “Invalid struts 1.0 file found. org.jdom.input.JDOMParserException: Error on line 68: Element “struts-config” does not allow “global-exceptions” here”

    It seems myeclipse is using struts-config-1.0.dtd to validation my struts-config.xml. Here is DOCTYPE used in my struts-config.xml,

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

    Please help to resolve this.

    Thanks!

    CT

    #241157

    Riyad Kalla
    Member

    CT,
    When you added Struts capabilities, were you certain to select 1.2? We support 1.0, 1.1 and 1.2…

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problem to add struts capability

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