resultSet cannot be resolved to a type?
来源:学生作业帮 编辑:灵鹊做题网作业帮 分类:综合作业 时间:2024/04/28 19:18:44
resultSet cannot be resolved to a type?
用ECLIPSE的JDBC操作MYSQL时,import com.mysql.jdbc.ResultSet;
import com.mysql.jdbc.Statement;中的com.mysql.下面总是有红线,即表示没有调用到它的包之类的是吧.声明:就这两个地方有问题,其他应该没问题,而且mysal-connector-java-3.1.12-bin.jar也加进去了.请问问题出在哪里.
用ECLIPSE的JDBC操作MYSQL时,import com.mysql.jdbc.ResultSet;
import com.mysql.jdbc.Statement;中的com.mysql.下面总是有红线,即表示没有调用到它的包之类的是吧.声明:就这两个地方有问题,其他应该没问题,而且mysal-connector-java-3.1.12-bin.jar也加进去了.请问问题出在哪里.
改用
import java.sql.Statement;
import java.sql.ResultSet;
即可
mysal-connector-java-3.1.12-bin.jar 包下可用rar打开查看一下.com/mysql/目录下有没有这两个类.我猜你包里可能没有这俩东东..
import java.sql.Statement;
import java.sql.ResultSet;
即可
mysal-connector-java-3.1.12-bin.jar 包下可用rar打开查看一下.com/mysql/目录下有没有这两个类.我猜你包里可能没有这俩东东..
ActionListenter cannot be resolved to a type
javax.servlet.jsp.JspException cannot be resolved to a type
JAVA中报错i cannot be resolved to a variable
The type javax.servlet.ServletContext cannot be resolved.It
R.id cannot be resolved
cannot be resolved什么意识
java错误i cannot be resolved
a value of type "char const *" cannot be used to initialize
be resolved to是什么意思及反义词
英语翻译electricity is a type of energy which cannot be seen but
英语翻译These type of pumps cannot be started against a closed h
I have no more letter (),thank you.A to type B to be typed C