File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes ClassNotFoundException during deploying the EAR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "ClassNotFoundException during deploying the EAR" Watch "ClassNotFoundException during deploying the EAR" New topic
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
Bartender

Joined: Nov 09, 2011
Posts: 1030
    
    5


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
Bartender

Joined: Nov 09, 2011
Posts: 1030
    
    5

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..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ClassNotFoundException during deploying the EAR