wood burning stoves 2.0*
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
Author

Problem accessing classes from /WEB-INF/classes directory

bksella sella
Ranch Hand

Joined: Jul 31, 2003
Posts: 32
Hi,
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.
bksella.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

http://www.netstore.ch/mesi/strutsTutorial/


Groovy
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1850
Hi,
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem accessing classes from /WEB-INF/classes directory