File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes AbstractMethodError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "AbstractMethodError" Watch "AbstractMethodError" New topic
Author

AbstractMethodError

saurav sarkar
Ranch Hand

Joined: Jan 07, 2007
Posts: 180

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.


Be Objectively Oriented.Explore the power of OOPs.
My Blog, Eclipse EMF Query committer.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Do you know which version of the oracle jar that you have on the classpath?
saurav sarkar
Ranch Hand

Joined: Jan 07, 2007
Posts: 180

its classes12.jar.............
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

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

Joined: Mar 06, 2001
Posts: 13459

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

Joined: Jan 07, 2007
Posts: 180

thanks Dave for the reply.
I have used Oracle.zip also, but thats also not working
saurav sarkar
Ranch Hand

Joined: Jan 07, 2007
Posts: 180

sorry classes12.zip
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

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

Joined: Jan 07, 2007
Posts: 180

thanks Dave for the links......
i have put the ojdbc14.jar in the build path.
But still the problem persists
saurav sarkar
Ranch Hand

Joined: Jan 07, 2007
Posts: 180

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

Joined: Jan 07, 2007
Posts: 180

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: AbstractMethodError
 
Similar Threads
hibernate-annotations error
Problem with calling constructor from JNI code
Ljava error
Spring inject a list
JmsJcaConnectionFactoryImpl