facebook

Error when opening struts-config.xml

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

    Heather
    Member

    I’m stepping through the hibernate demo and I’ve come to the point where we’re supposed to open the struts-config.xml flow layout diagram to create the jsp. Well, I tried opening the struts-config.xml with MyEclipse Struts Editor and I get the following error:

    ENTRY org.eclipse.ui 4 0 2006-01-10 16:23:50.125
    !MESSAGE Unable to create editor ID com.genuitec.eclipse.struts.editor.multipage.StrutsConfigEditor: org.eclipse.draw2d.geometry.Dimension
    !STACK 0
    java.lang.ClassCastException: org.eclipse.draw2d.geometry.Dimension

    Here is my program specifics:

    *** Date: Tue Jan 10 16:36:23 EST 2006

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

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.3 GA
    Build id: 20051025-4.0.3-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Platform

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Java Development Tools

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Graphical Editing Framework

    Version: 3.1
    Build id: 200509301327

    Eclipse RCP

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Plug-in Development Environment

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Project SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Program Files\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    169c_60
    -vm
    C:\WINDOWS\system32\javaw.exe

    Is there anything else that I’m missing or should upgrade to?

    TIA!!

    -Heather

    #244277 Reply

    Heather
    Member

    Update: I downloaded and installed version 4.1 M2 and that seems to have fixed the problem.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Error when opening struts-config.xml

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