Have you copied classes12.jar in lib folder of your web application and set the classpath in eclipse.
Right-click project in Package explorer Build path -> Add external archives…
Select your ojdbc6.jar archive
Press OK
Or
Go through this link and read and do carefully.
The library should be now referenced in the “Referenced Librairies” under the Package explorer. Now try to run your program again.
Related Posts:
- What is WEB-INF used for in a Java EE web application?
- java.lang.ClassNotFoundException: com.mysql.jdbc.Driver in Eclipse
- java.lang.ClassNotFoundException: com.mysql.jdbc.Driver in Eclipse
- getting error HTTP Status 405 – HTTP method GET is not supported by this URL but not used `get` ever?
- HTTP Status 405 – HTTP method is not supported by this URL
- What is Java Servlet?
- com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
- com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
- DB2 jdbc connection error Connection refused. ERRORCODE=-4499, SQLSTATE=08001
- How to request.getParameterNames into List of strings?
- Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
- Session TimeOut in web.xml
- DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704
- How to solve javax.net.ssl.SSLHandshakeException Error?
- Uri not Absolute exception getting while calling Restful Webservice
- java.sql.SQLException: Access denied for user ‘root’@’localhost’ (using password: YES)
- ResultSet exception – before start of result set
- java.lang.NumberFormatException: null i
- java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver Exception occurring. Why?
- IO Error: The Network Adapter could not establish the connection
- The import org.apache.commons cannot be resolved in eclipse juno
- java.sql.SQLException: No database selected – why?
- WebServlet cannot be resolved to a type
- java.lang.IllegalStateException: Cannot (forward | sendRedirect | create session) after response has been committed
- HTTP Status 500 Error instantiating servlet class
- Getting java.sql.SQLException: Operation not allowed after ResultSet closed
- An established connection was aborted by the software in your host machine tomcat jackson
- how to fix Cannot call sendRedirect() after the response has been committed?
- How do I get the size of a java.sql.ResultSet?
- What is the difference between JSF, Servlet and JSP?
- SQL Error: 0, SQLState: 08S01 Communications link failure
- Cannot issue data manipulation statements with executeQuery()
- Efficient way to do batch INSERTS with JDBC
- What kind of Java type is “[B”?
- JPA or JDBC, how are they different?
- what is the difference between doGet() and doPost() in term of the flow?
- How to specify the default error page in web.xml?
- The import javax.servlet can’t be resolved
- What does Java option -Xmx stand for? [duplicate]
- How do I convert a String to an int in Java?
- What does Java option -Xmx stand for? [duplicate]
- Is there an invisible character that is not regarded as whitespace?
- Problem with gif with transparent background
- Finding white rectangle in an image
- 1000 * 60 * 60 * 24 * 30 results in a negative number [duplicate]
- How to convert nanoseconds to seconds using the TimeUnit enum?
- Search for words with telephone numbers from 2-3-4 tree
- Using or ‘|’ in regex [duplicate]
- How to format strings in Java
- What is the difference between x86 and x64
- && (AND) and || (OR) in IF statements
- How to use the toString method in Java?
- What is a NullPointerException, and how do I fix it?
- What exactly is Apache Camel?
- Unable to find valid certification path to requested target – error even after cert imported
- Unable to find valid certification path to requested target – error even after cert imported
- What is the equivalent of the C++ Pair
in Java? - Java – Convert integer to string [duplicate]
- Getting random numbers in Java [duplicate]
- What is an instance variable in Java?
- javac is not recognized as an internal or external command, operable program or batch file [closed]
- javac is not recognized as an internal or external command, operable program or batch file [closed]
- Java: “error: cannot find symbol”
- How does the Java ‘for each’ loop work?
- Which is the difference between Long.valueOf(0) and 0L in Java?
- What is a StackOverflowError?
- What are the differences between a HashMap and a Hashtable in Java?
- Use of “instanceof” in Java [duplicate]
- How to use Collections.sort() in Java?
- How to uninstall Eclipse?
- Is GNU’s Java Compiler (GCJ) dead? [closed]
- How does System.out.print() work?
- How do I “decompile” Java class files? [closed]
- How do I determine whether an array contains a particular value in Java?
- How to initialize an array in Java?
- How does the Java ‘for each’ loop work?
- Java 8 Iterable.forEach() vs foreach loop
- Initialize part of an array in java
- How can I solve Exception in thread “main” java.lang.NullPointerException error [duplicate]
- How to split a string in Java
- What does “Could not find or load main class” mean?
- What does “Could not find or load main class” mean?
- Why am I getting a NoClassDefFoundError in Java?
- How to avoid “ConcurrentModificationException” while removing elements from `ArrayList` while iterating it? [duplicate]
- Eclipse/Maven error: “No compiler is provided in this environment”
- How do I compare strings in Java?
- Is Java “pass-by-reference” or “pass-by-value”?
- What is reflection and why is it useful?
- Implementing UML diagram to Java [closed]
- How to round a number to n decimal places in Java
- Using Pairs or 2-tuples in Java [duplicate]
- How do I create a file and write to it?
- Could not reserve enough space for object heap
- Difference between java.exe and javaw.exe
- When to use LinkedList over ArrayList in Java?
- Can’t start Eclipse – Java was started but returned exit code=13
- How to convert a char to a String?
- Can’t start Eclipse – Java was started but returned exit code=13
- super() in Java
- Difference between Arrays.asList(array) and new ArrayList
(Arrays.asList(array))