Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.ClassNotFoundException: org.postgresql.core.BaseConnection

876623Jul 19 2011 — edited Sep 26 2011
I´ve started using new Jdeveloper 11.1.2 and i´m facing an issue:

My ejb project is throwing this error: java.lang.ClassNotFoundException: org.postgresql.core.BaseConnection:

Caused by: java.lang.ClassNotFoundException: org.postgresql.core.BaseConnection
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
... 173 more



But this driver ( postgresql-9.0-801.jdbc4 ) is in DefaultDomain/lib directory
I´ve created a jdbc data source with this driver sucessfully.
When my SessionBean tries to get some information from database this error is thrown....
I don´t know what I´m doing wrong.
By the way, the same application is running on Jdeveloper 11.1.1.4 with no problems.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 24 2011
Added on Jul 19 2011
12 comments
3,103 views