Results 1 to 2 of 2
- 03-14-2008, 02:50 PM #1
Member
- Join Date
- Mar 2008
- Posts
- 2
- Rep Power
- 0
failure at Class.forName("oracle.jdbc.driver.OracleDriver");
I am trying to develop a database/jsp/servlet application in Eclipse (Europa 3.3.1.1). I have other db applications on the workstation and use classes12.zip (or classes12.jar) for them with no problem.
Classes12.zip is one of the libraries in the project. The webserver is Tomcat 5.5. HOWEVER, the jsp front end calls this code:
<form action="SQLGateway" method="post">
<textarea name="sqlStatement" cols="60" rows="8">${sqlStatement}
</textarea><br><br>
<input type="submit" value="Execute">
</form>
and the servlet does this:
try
{
Class.forName("oracle.jdbc.driver.OracleDriver");
}
but while the code passes validation, this line raises the ClassNotFound exception. I've removed classes12.zip and added it back; problem occurs whether I'm running the code within Eclipse or from cPanel®
Any help is GREATLY APPRECIATED.
RON
- 03-14-2008, 02:51 PM #2
Member
- Join Date
- Mar 2008
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
Hwlp with "Open", "Save", "Save as..."
By trill in forum New To JavaReplies: 3Last Post: 11-02-2010, 09:26 AM -
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
By ljustiniano in forum New To JavaReplies: 6Last Post: 02-19-2010, 01:57 PM -
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
By haneeshrawther in forum Advanced JavaReplies: 0Last Post: 03-21-2008, 01:13 PM -
Jdbc Driver For Oracle
By Swamipsn in forum New To JavaReplies: 0Last Post: 08-14-2007, 04:31 AM -
Error: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
By romina in forum New To JavaReplies: 1Last Post: 07-25-2007, 10:55 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks