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]
- Finding white rectangle in an image
- Java : Comparable vs Comparator [duplicate]
- Convert int to char in java
- Change date format in a Java string
- Converting String to “Character” array in Java
- Java – What does “\n” mean? [duplicate]
- must declare a named package eclipse because this compilation unit is associated to the named module
- string to string array conversion in java
- How can I prevent java.lang.NumberFormatException: For input string: “N/A”?
- How exactly does the Java interpreter or any interpreter work?
- C# Java HashMap equivalent
- Compiled vs. Interpreted Languages
- How to round up to the next integer?
- Spring @PropertySources value not overriding
- Array ArrayList python equivalent
- extends class and implements interface in java
- How do I apply the for-each loop to every character in a String?
- Java – removing first character of a string
- How to send a Map in JSON
- Getting java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory exception
- Explain the use of a bit vector for determining if all characters are unique
- java.util.NoSuchElementException: No line found
- How can I list the available Cipher algorithms?
- ADK vs JDK vs SDK difference?
- round up to 2 decimal places in java?
- com.sun.jdi.InvocationException occurred invoking method
- How can I check whether an array is null / empty?
- org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘demoRestController’
- What causes java.lang.IncompatibleClassChangeError?
- Java: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- ClassNotFoundException – com.microsoft.jdbc.sqlserver.SQLServerDriver
- How to create a directory in Java?
- Converting from Integer, to BigInteger
- Error:java: javacTask: source release 8 requires target release 1.8
- Get a resource using getResource()
- Java comparing generic types
- Generate a random double in a range
- How to open a new tab using Selenium WebDriver in Java?
- Selenium Webdriver: Element Not Visible Exception
- Whitespace Matching Regex – Java
- What are mock objects in Java?
- java array error “array required but int found”
- Unreachable code in eclipse
- this: Cannot use this in static context
- Android Emulator: Unfortunately App has stopped
- Can we execute a java program without a main() method? [duplicate]
- How to really read text file from classpath in Java
- Java command not found on Linux
- Selenium using Java – The path to the driver executable must be set by the webdriver.gecko.driver system property
- How to break out or exit a method in Java?
- Java Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException
- Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/JDBC_DBO]]
- How to get Java to wait for user Input
- How to get the filename without the extension in Java?
- Java using enum with switch statement
- Removing double quotes from a string in Java
- Iterative Fibonacci code in Java?
- What is inverse function to XOR?
- Java Swing revalidate() vs repaint()
- Append a single character to a string or char array in java?
- for each loop in groovy