facebook

‘cannot create part’ when editing struts-config.xml [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #216810 Reply

    Last week I upgraded to 3.8.2 following the forum posted instructions for my 3.0 installation. All went well. Then later that day I updated my installation to eclipse 3.0.1. All went well. Except…

    I cannot edit my struts-config.xml anymore. When I open the file, I recieve a popup error that says Unable to create part:

    Click ok on that and another popup with the message: An error has occurred when activating this view. Then the tab opens, empty, with the message “An error has occurred when creating this editor.” Somehow I get the feeling I am uninstalling and reinstalling MyEclipse.

    Also, I use WASP for access to WEB Services and the config.xml for my wasp installation in my webapp shows an error in the xml file that wasn’t there before: cvc-elt.1: Cannot find the declaration of element ‘config’. Attached is the beginning of this file.

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <config name=”main”>

    <waspClassSpace>root.wasp-impl</waspClassSpace>

    <preferences name=”main”>

    <!– application directory –>
    <applicationDirectory>app_classpath</applicationDirectory>

    <!– system context –>
    <systemContext>system</systemContext>

    <!– Default XML protocol, possible values :
    “soap11” (default), “soap12” or list: “soap11 soap12” –>
    <defaultXMLProtocol>soap11 soap12</defaultXMLProtocol>

    <!– Default SOAP binding style, possible values:
    “document” (default) or “rpc” –>
    <defaultBindingStyle>rpc</defaultBindingStyle>

    <!– Default encoding style, possible values:
    “literal” (default) or “encoded” –>
    <defaultEncodingStyle>encoded</defaultEncodingStyle>

    <!– Default attachments type, possible values:
    “mime” (default) for MIME, “dime” for DIME –>
    <defaultAttachmentType>mime</defaultAttachmentType>

    </preferences>

    #216818 Reply

    Went back today, and updated my Eclipse Installation. Upgraded the GEF Framework, used by the Struts-Config visual editor, to 3.0.1 and things magically started working again.

    #216831 Reply

    Riyad Kalla
    Member

    God giveth, and god taketh away

    😀

    #216842 Reply

    And sometimes he just wants you to take a minute to think out loud and answer your own questions.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: ‘cannot create part’ when editing struts-config.xml [Closed]

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