Results 1 to 4 of 4
- 08-11-2007, 05:32 PM #1
Member
- Join Date
- Aug 2007
- Posts
- 3
- Rep Power
- 0
Problem connecting to my Database using Java
Hi all,
I am new to Java and also new to this forum.
First of al hi to al of u.
I am facing a problem. I have developed an application using Java Jsp, which connects to Oracle database, which is in my system only.
but after starting tomcat when i am running the jsp which is in turn connecting to the database, i am getting the following error -
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
I have set the environment variable CLASSPATH with the classes12.zip file. then also i am getting this error
Please Help
Thanx n Regards
Sam
- 08-11-2007, 10:11 PM #2
Hi Sam,
This is the third thread i have seen for the same problem. Please do not cross-post the same question. Here is the FAQ for the forum rules:
http://www.java-forums.org/faq.php?faq=forumrules
- 08-13-2007, 04:33 AM #3
Member
- Join Date
- Jul 2007
- Posts
- 74
- Rep Power
- 0
Hi,
This problem is a most common one , its means your JVM unable to find out oracle.jdbc.driver.OracleDriver class file. So place the driver class file into
both Java and Tomcat's lib directory.
- 08-13-2007, 09:35 AM #4
Member
- Join Date
- Aug 2007
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
connecting to a database
By mxb7642 in forum JDBCReplies: 5Last Post: 09-08-2009, 08:39 AM -
Connecting to a database
By peiceonly in forum New To JavaReplies: 2Last Post: 04-06-2008, 02:28 PM -
problem in connecting to mysql database
By nancyv in forum Java ServletReplies: 6Last Post: 04-02-2008, 11:33 AM -
Specifying the character set while connecting to the database
By Java Tip in forum Java TipReplies: 0Last Post: 02-13-2008, 11:26 AM -
connecting to mysql database
By javagal in forum NetBeansReplies: 2Last Post: 08-04-2007, 12:36 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks