Discussions

General J2EE: ojdbc14.jar loaded but Oracle classes still cannot be resolved

  1. Hi, I am using WebSphere AS 6.1 I have a JSP page that references classes connecting to Oracle 10g. I have deployed the app successfully, but when I access the JSP page, I got the following error in the SystemOut.log [11/16/06 10:48:11:310 HKT] 00000026 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: /my/path/error.jsp. Exception thrown : javax.servlet.ServletException: Unresolved compilation problems: The import oracle cannot be resolved OracleTypes cannot be resolved OracleCallableStatement cannot be resolved to a type I am sure ojdbc14.jar is loaded (confirm using "Class Loader Viewer" in admin console). Any idea how to resolve this error? Thanks for your help. Michael
  2. try to compile the jsp before deploying and also check that no older class files for jsp exists. cheers, http://www.javaicillusion.blogspot.com/