File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Getting  java.lang.NoClassDefFoundError at OraclePreparedStatementWrapper Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Getting  java.lang.NoClassDefFoundError at OraclePreparedStatementWrapper" Watch "Getting  java.lang.NoClassDefFoundError at OraclePreparedStatementWrapper" New topic

Getting java.lang.NoClassDefFoundError at OraclePreparedStatementWrapper

S Aravind

Joined: Mar 18, 2010
Posts: 1
We are upgrading our project from weblogic server 8.1 to 10.3.
After the upgradation we are getting the below exception for one of the flow. This connection is being created from the Springs Transaction.

caused by: java.lang.NoClassDefFoundError: weblogic/jdbc/rmi/SerialPreparedStatement_weblogic_jdbc_rmi_internal_PreparedStatementStub_weblogic_jdbc_rmi_internal_PreparedStatementImpl_weblogic_jdbc_wrapper_PreparedStatement_oracle_jdbc_driver_OraclePreparedStatementWrapper_1032_WLStub
at weblogic.jdbc.wrapper.PreparedStatement_weblogic_jdbc_rmi_SerialPreparedStatement_weblogic_jdbc_rmi_internal_PreparedStatementStub_weblogic_jdbc_rmi_internal_PreparedStatementImpl_weblogic_jdbc_wrapper_PreparedStatement_oracle_jdbc_driver_OraclePreparedStatementWrapper_1032_WLStub.setMaxRows(Unknown Source)

Can some one please help to trigger out the issue.
Marat Svetlov

Joined: Sep 21, 2011
Posts: 2
Hi S Aravind,

did you manage to fix this problem ?
I am havving the same, so far - no ideas ...
pravin kalbhor

Joined: Oct 11, 2010
Posts: 2
don't know you had found the solution or not. but it's a deployment mistake of not making all the required classes available...
Marat Svetlov

Joined: Sep 21, 2011
Posts: 2
I don`t think this is a deployment mistake.
If look into the class name posted, this is weblogic JDBC wrapper, and AFAIK it does not exists in any jar originally.
Weblogic generates in in realtime.
jQuery in Action, 3rd edition
subject: Getting java.lang.NoClassDefFoundError at OraclePreparedStatementWrapper
It's not a secret anymore!