eclipse 出现A为无法解析的类型,怎样解决?
例如:与mysql数据库连接时
“String url = "jdbc:mysql://localhost/ch10";
String userName = "root";
String password = "root";
Connection conn = null;
Statement stmt = null;”
出现Connection、Statement为无法解析的类型。
------解决方案--------------------
你好像还没有写端口号3360!
------解决方案--------------------