File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassNotFoundException during deploying the EAR

 
Ram Kini
Greenhorn
Posts: 4
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
Posts: 1051
5
Chrome Eclipse IDE Hibernate
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 4
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1051
5
Chrome Eclipse IDE Hibernate
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic