This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Getting java.lang.NoClassDefFoundError at OraclePreparedStatementWrapper
It's not a secret anymore!