I am trying to execute a query using a stored procedure in Eclipse, but I keep getting this error and I am not sure what I am missing to be able to execute the query.
The query works in the actual server the code would be run on, but I am trying to mimic that environment in Eclipse (That being said I know the problem is not in the code, but I am clearly missing a dependency or something? I am not sure).
The error is:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
oracle.jdbc.driver.T2CConnection.t2cSetSessionTimeZone(JLjava/lang/String;)
Here is what I have in my eclipse project:
Libraries:
- Activation.jar
- mail.jar
- ojdbc5.jar
- rt.jar
- JRE System Library[J2SE-1.4]
Order and Export:
- ojdbc5.jar
- rt.jar
- Activation.jar
- mail.jar
- src
- JRE System Library[J2SE-1.4]
Also, Compiler info:
- Java Compiler - J2SE-1.4
- generated .class file compatibility - 1.2
- Source compatibility - 1.3
Not sure what other information I should provide..
Thanks!