facebook

Problem with struts-config.xml

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

    When I switch to design view in struts-config.xml I get an error that says:
    “Unable to access Struts Flow View due to XML and Struts validation errors dected in source”

    When I run the validator from the source view I cannot see any problems. All looks OK to me.

    How can I discover what the design view is complaining about?

    TIA – Adam

    #285402 Reply

    Loyal Water
    Member

    Adam,
    Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    Do you get this message with all config files or just one file in particular ?

    If you switch to a new workspace and try working with the same file, do you get the same message ?

    #285408 Reply

    Hi Nipun,

    The output from Installation summary is below.
    Another version of the struts-config.xml file opens fine on the editor so I suppose that must mean there is an error in the file.

    But how do I find it the fault? The file is pretty large.
    I loaded it into it XMLSpy and it is well-formed and validates OK.

    Thanks – Adam

    *** Date:
    28 May 2008 16:50:16 o’clock BST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    Eclipse Project SDK

    Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
    Build id: M20080221-1800

    Eclipse Platform

    Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
    Build id: M20080221-1800

    Eclipse Java Development Tools

    Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
    Build id: M20080221-1800

    Eclipse RCP

    Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
    Build id: M20080221-1800

    Eclipse Plug-in Development Environment

    Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
    Build id: M20080221-1800

    Eclipse Graphical Editing Framework

    Version: 3.3.1.v20070814
    Build id: 20070814-1555

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\MyEclipse 6.0\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
    -startup
    C:\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
    -exitdata
    980_b8
    -vm
    C:\MyEclipse 6.0\jre\bin\javaw.exe

    #285468 Reply

    Loyal Water
    Member

    The only thing that I can think of is to paste bits and pieces of the code in a new file and validate it until you come across the bit that is causing the error. Or you can PM the file to me and I can try reproduce this at my end.

    p.s. You can hit the pm button at the bottom of my post to send me the file.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Problem with struts-config.xml

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