Solved

Struts 2 fiter problem - could not be initialized java.lang.NoClassDefFoundError

Posted on 2010-08-24
3
1,319 Views
Last Modified: 2013-11-24
When I start up my struts 2 application I'm getting this error:
[Servlet Error]-[Filter [struts2]: could not be initialized]: java.lang.NoClassDefFoundError: gov.prof.framework.web.action.BaseAction

The BaseAction class is in a jar file containing the whole framework I am working with.  What could be the cure for this runtime error?
0
Comment
Question by:jwright9
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
Murali Murugesan earned 500 total points
ID: 33518867
check whether your jar is there in the classpath.
0
 

Author Comment

by:jwright9
ID: 33520997
The jar is in the path.  I added it to the exports tab in the buid path of RAD.
0
 

Author Closing Comment

by:jwright9
ID: 33529221
Short answer = short utility
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
allStar challenge 1 52
count11 challenge 6 63
java 8 lambda expresssions exception handling 3 75
arguments to jar 5 15
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now