• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ojdbc6 and ClassNotFoundException: oracle.jdbc.internal.XMLTypeIntf

 
Francesco Bellini
Ranch Hand
Posts: 41
Linux Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I encountered the following error at runtime on my java application that is calling a Oracle Stored Procedure via CallableStatement.



I have found lots of posts/threads where it is recommended to put ojdbc6 in the classpath but in my case it was already there.
I really do not understand why this class is needed and from who.

I use the following ojdbc version: ojdbc6-11.2.0.3 directly downloaded via maven.
I also had to add the following dependency because it was needed at runtime also: xdb6-12.1.0.1.

Onestly I don't know how to solve this now, since I tried to do many attempts.
I thought it was due to the ojdbc version but I noticed also ojdbc14 doesn't have that class in it.

Could you help me to sort it out please?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35276
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This post suggests you also need xmlparserv2.jar.
 
Francesco Bellini
Ranch Hand
Posts: 41
Linux Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

thanks for replying.
I have seen the post you mentioned but unfortunately I still get that exception even after adding such dependency.
I have got such jar from the SQL Developer folder directly.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic