This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

package org.apache.struts.action does not exist

 
Prakash Mani - Attur
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys

When i try to use ActionForm class in eclipse IDE its not showing any error. but when i deploy the project it says
"package org.apache.struts.action does not exist". but the package and the ActionForm class exists in the lib directory(manually checked). what do i have to do to make it visible when i build the project?

Thanks
 
Dawn Charangat
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you mention the complete path of the lib folder?
Also, please check if you have multiple instances of the struts jar in the lib folder. That shouldn't ideally give you a classnotfound, but I encountered that situation once....wierd, I know
 
Prakash Mani - Attur
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the reply man.. i found the solution.. wrongly i have placed the source file in the built path..
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic