| Author |
ClassNotFoundException during deploying the EAR
|
Ram Kini
Greenhorn
Joined: Jan 10, 2012
Posts: 4
|
|
Getting the following error while trying to deploy the EAR. The jar file is included in the EAR and the class is present in the JAR file, but still encountering the error. I'm trying to deploy it in Weblogic 10.3 server.
Can anyone help me out with this??
Thanks!!
|
 |
James Boswell
Ranch Hand
Joined: Nov 09, 2011
Posts: 344
|
|
java.lang.ClassNotFoundException: className
Application is looking to load a class named 'className'. I wouldn't have thought this is what you intended. Have you used a String literal instead of a variable somewhere?
|
 |
Ram Kini
Greenhorn
Joined: Jan 10, 2012
Posts: 4
|
|
|
ya...i know, it is trying to load the class with the name 'className'. I haven't used a String literal instead of a variable.
|
 |
James Boswell
Ranch Hand
Joined: Nov 09, 2011
Posts: 344
|
|
|
Is this class not defined in a package? Also, it starts with lowercase letter, hence why I wondered if you have used a literal by accident.
|
 |
Ram Kini
Greenhorn
Joined: Jan 10, 2012
Posts: 4
|
|
|
Ya that class in included in the package, and the jar is also included in the ear. And for the class name starting with lower case, its not the actual name of the class. Used a dummy name here..
|
 |
 |
|
|
subject: ClassNotFoundException during deploying the EAR
|
|
|