Environment:
Windows XP SP3
Jdk1.5
Tomcat 6.0
My eclipse 6.5
Oracle9i 9.2.0.1
The following error occurs when JDBC: oracle: oci8: @ dbname ur is used to connect to the database and test the connection in the myeclipse hibernate view:
No ocijdbc9 in Java. Library. Path
The problem is solved by searching for materials online. cause:
The ocijdbc9 in Oracle is a DLL and environment variables are not loaded.
Solution:
1. In preferences --> myeclipse enterprise workbench --> servers --> Tomcat 6. x --> JDK
Add-djava. Library. Path = to the optional Java VM arguments ParameterD:/Oracle/ora92/bin
In this example, the "bin" directory of the Oracle client is written in black text and changed to its own directory.
2. In preferences --> myeclipse enterprise workbench --> servers --> Tomcat 6. x --> paths
Use add dir in the apend to library path parameter to add the bin directory address of Oracle.
Solve the problem !..