Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AbstractMethodError

 
saurav sarkar
Ranch Hand
Posts: 180
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am getting this error



while executing this statement



I dont have compatibitility issue as i am running in the eclipse.

please help.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you know which version of the oracle jar that you have on the classpath?
 
saurav sarkar
Ranch Hand
Posts: 180
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its classes12.jar.............
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, that's old. Delete it, go to the oracle site and download the latest. Then do me a favour and double check that there aren't any other Oracle jars wandering around in your classpath.

Dave
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The 'classes12' jars are designed for Java 1.2, I certainly hope you're using a newer version than this.

See Oracle JDBC Drivers - 10.1.0.2.0 (10g) or Oracle JDBC drivers v9.2.0.1 and grab ojdbc14.jar
 
saurav sarkar
Ranch Hand
Posts: 180
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Dave for the reply.
I have used Oracle.zip also, but thats also not working
 
saurav sarkar
Ranch Hand
Posts: 180
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry classes12.zip
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oops, first time I have posted a solution before the problem :shocked: (bed time for me, hopefully someone can help you get this solved)
 
saurav sarkar
Ranch Hand
Posts: 180
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Dave for the links......
i have put the ojdbc14.jar in the build path.
But still the problem persists
 
saurav sarkar
Ranch Hand
Posts: 180
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Any help will be greatly appreciated.
I am stuck on the problem for a day.
and i am not able to found any solution also.
 
saurav sarkar
Ranch Hand
Posts: 180
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

After removing classes12.zip from my build path of Eclipse
and only keeping ojbc14.jar in the build path
i am getting this error

'java.sql.SQLException: Unsupported feature'

Please help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic