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

Posted on 2010-08-24
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:

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?
Question by:jwright9
  • 2
LVL 13

Accepted Solution

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

Author Comment

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

Author Closing Comment

ID: 33529221
Short answer = short utility

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
triangle challenge 4 155
What is JNDI datasource in spring 1 62
micro services vs rest web services 16 105
github account with ecipse 1 47
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.

778 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