Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Package org.apache.struts.action does not exist  RSS feed

 
stefania ferrarelli
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Stefania
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It needs to be on your compilation classpath as well; I don't know how to do that in NetBeans.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!