File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Problem accessing classes from /WEB-INF/classes directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Problem accessing classes from /WEB-INF/classes directory" Watch "Problem accessing classes from /WEB-INF/classes directory" New topic

Problem accessing classes from /WEB-INF/classes directory

bksella sella
Ranch Hand

Joined: Jul 31, 2003
Posts: 32
I have packaged my struts program into a .war file format and have deployed teh same in weblogic 7.0. But when i try to access any of the classes in the directory /WEB-INF/classes, i get this exception : ClassNotFoundException. But when i package the classes directory in a separate jar file and add it to weblogic classpath, it works fine. I am not able to understand, why my application is not able to read the class files from the directory /WEB-INF/classes in my web archive ( .war file ) ?
Thanks in advance.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1845
Try unzipping the war file and check out the name for the WEB-INF folder.
Is it WEB-INF or web-inf. This problem happens expecially with the windows platform
jQuery in Action, 2nd edition
subject: Problem accessing classes from /WEB-INF/classes directory
Similar Threads
Weblogic 9.2 and custom JAAS config
Mysterious Spring Configuration Errors
How to deploy WAR file in weblogic 5.1
EJB and logging
Problem In Deploying servlets in JBoss4.2.2GA