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
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply 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
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
 
Threads others viewed
deployment error into Weblogic
deploy ejb3 on weblogic errors
error while Deploying the enterprise archive.
Log4j error while deploying EJB 3.0 in weblogic 10
Error during deployment
IntelliJ Java IDE