aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 8898

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


Groovy
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1836
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem accessing classes from /WEB-INF/classes directory
 
Similar Threads
EJB and logging
Problem In Deploying servlets in JBoss4.2.2GA
Mysterious Spring Configuration Errors
How to deploy WAR file in weblogic 5.1
Weblogic 9.2 and custom JAAS config