facebook

Struts – Action cannot be resolved to a type

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

    cheyengu
    Member

    – System Setup ——————————-
    Operating System and version: Windows XP Home Edition SP2
    Eclipse Version: 3.1.0
    Eclipse Build id: 200408122000
    Fresh Eclipse install (y/n): Y
    Other installed external plugins: None
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
    MyEclipse version: 3.8.4
    Eclipse JDK version: 1.5
    Application Server JDK version: 1.5
    Are there any exceptions in the Eclipse log file? ?

    – Message Body ——————————-

    When I attempt create a new form, action and JSP the classes are generated but i get a message for both the action and form class telling me “Action cannot be resolved to a type”. I belive, because of the error, nothing is added to struts-config.xml. I have to go into each class and add the imports for Action , ActionForm and HttpRequest and Response. Then i can go back into the wizard and click use existing class.

    #225306 Reply

    Riyad Kalla
    Member

    Are you using the MyEclipse 3.8.4 BETA for Eclipse 3.1 release?

    #225317 Reply

    cheyengu
    Member

    Yes.

    #225320 Reply

    Riyad Kalla
    Member

    Can you give me exact steps to reproduce this so I can do it here locally, find the bug and file it?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Struts – Action cannot be resolved to a type

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