It's not a secret anymore!*
The moose likes Java in General and the fly likes inner class - ClassNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

inner class - ClassNotFoundException

Deb Pati

Joined: Aug 04, 2006
Posts: 4
Hi all,

I have the following code segment: It has a "Manager" class with an inner class called "KeyValue". Another class named "Caller" tries to instantiate an object of type Manager. The Eclipse debugger showed gave a ClassNotFoundException at the

1. public class Manager{
2. public class KeyValue {
3. protected Object element;
4. protected Object value;
5. public KeyValue(Object element, Object value) {
6.this.element = element;
7.this.value = value;

8.protected List<KeyValue> cache; direction;

10.public Manager(List<KeyValue> cache,int direction){
11.this.cache = cache;
12.this.direction = direction;


13. public class Caller{

14. public void callerMethod{
15.List<KeyValue> mycache = new ArrayList<KeyValue>();
int Direction = 3;
Manager m = new Manager(mycache, 3);
Don't get me started about those stupid light bulbs.
subject: inner class - ClassNotFoundException
Similar Threads
sorry... my previous mail got posted halfway...completing now
Object Caching?
Cannot find bean in request scope
not getting value in doget method of servlet