aspose file tools
The moose likes Java in General and the fly likes Help! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Help!" Watch "Help!" New topic
Author

Help!

John Spindler
Greenhorn

Joined: Feb 12, 2002
Posts: 28
Ok! I have Java SDK 1.2.2 installed on a web server running New Atlanta 4.1. That works great! however I am now trying to write some code to use JDBC and I keep getting errors like Explicit cast needed, can't convert java.sql.ResultSet to ResultSet then if I use the absolute path in my code like "java.sql.ResultSet" and "java.sql.Statement" I can get it to compile but it will NOT execute. I think maybe it's something do with my classpath? Has anyone seen this kind of behavior before? Any suggestions?
Thanks,
Brian
[ April 28, 2003: Message edited by: John Spindler ]
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1815
Could you post some code and/or the errors you are getting? Thanks


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937
The first thing that I would recommend is to use something higher than SDK 1.2.2, we are already at 1.4, and I know that a lot of JDBC stuff has changed from 1.2 to 1.3. If this still doesn't work, post your code and the exceptions that you get, and we will try to figure it out.
Eugene.
John Spindler
Greenhorn

Joined: Feb 12, 2002
Posts: 28
I was stuck on 1.2.2 due to software requirements. I figured it out though, some of my dependent .jar files were missing. Thanks a million though!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Help!
 
Similar Threads
PreparedStatement problem; Doesn't happen with plain SQL
Problems with executeQuery-method (PreparedStatement)
import statement
Please help with ResultSet
How do you check is Result set is null