This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes ClassNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "ClassNotFoundException" Watch "ClassNotFoundException" New topic
Author

ClassNotFoundException

Ajay Pratap
Greenhorn

Joined: Dec 09, 2008
Posts: 3
Hi all,

I am getting the following error when I try to an object to my array list:

Launcher$AppClassLoader(ClassLoader).loadClassInternal(String) line: not available
Ove Lindström
Ranch Hand

Joined: Mar 10, 2008
Posts: 326

Sorry, but we do not answer questions unless you apply to the Java Ranch Naming Policy (@see http://www.javaranch.com/name.jsp).

We like to know to whom we are talking.


But most likely, you are trying to add a class that is not on your classpath. Please supply some code.
[ December 09, 2008: Message edited by: Ove Lindstr�m ]
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10167
    
    8

"myidentity07",
Please check your private messages for an important administrative matter.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Ajay Pratap
Greenhorn

Joined: Dec 09, 2008
Posts: 3
Hi,

I am getting the following exception when I add an object to my array list:

Launcher$AppClassLoader(ClassLoader).loadClassInternal(String) line: not available

Ove Lindström
Ranch Hand

Joined: Mar 10, 2008
Posts: 326

How do you declare the pizzaOrderList?


Also, you are making it unnecessary hard for yourself. Java is an object oriented language. You should split your program into smaller pieces.
[ December 09, 2008: Message edited by: Ove Lindstr�m ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ClassNotFoundException
 
Similar Threads
WA #1.....word association
Cant use object from another class
Posting to bump up my count...
Text box value is not being completely filled with request attribute
The x900 effect ?