May 2, 2008

Strange exception

There is a new cry topic in one of the development forums I read, that make me think about this problem of the tomcat application server. The problem is about any zip) in a web application. The exception was

org.apache.jasper.JasperException: JDBC Driver class not found: oracle.jdbc.driver.OracleDriver

despite the fact that was in the project lib directory. I've just remembered how much time I spent on a similar problem, so I send him my answer. The reason for this bug is that tomcat have problems with zip archives. Renaming to jar will fix it. I haven't tested if the latest tomcat have zip problem though.

No comments:

Popular Posts