File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Package org.apache.struts.action does not exist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Package org.apache.struts.action does not exist" Watch "Package org.apache.struts.action does not exist" New topic

Package org.apache.struts.action does not exist

stefania ferrarelli

Joined: Jul 26, 2009
Posts: 29
I try to develop a Struts Action Controller on netbeans(old version 5.5.1, Struts 1.2.9). I have the struts jar files in Myproject\build\web\WEB-INF\lib but I get error on the imports of the Action,ActionForm, ActionMapping,Action Forward and the message is:
package org.apache.struts.action does not exist

Application Server is Bundled Tomcat 5.5.17.
Could you give me a suggestion?
Thank you
David Newton

Joined: Sep 29, 2008
Posts: 12617

It needs to be on your compilation classpath as well; I don't know how to do that in NetBeans.
I agree. Here's the link:
subject: Package org.apache.struts.action does not exist
It's not a secret anymore!