Eclipse下java连接Mysql控制台中出现了如下提示<ConnectionProperties>
 <PropertyCategory name="Connection/Authentication">
  <Property name="user" required="No" default="" sortOrder="-2147483647" since="all versions">
    The user to connect as
  </Property>
  <Property name="password" required="No" default="" sortOrder="-2147483646" since="all versions">
    The password to use when connecting
  </Property>
  <Property name="socketFactory" required="No" default="com.mysql.jdbc.StandardSocketFactory" sortOrder="4" since="3.0.3">
    The name of the class that the driver should use for creating socket connections to the server. This class must implement the interface 'com.mysql.jdbc.SocketFactory' and have public no-args constructor.
  </Property>
  <Property name="connectTimeout" required="No" default="0" sortOrder="9" since="3.0.1">
    Timeout for socket connect (in milliseconds), wi我的代码如下:
import java.sql.*;
public class GetConn{
public Connection conn=null;
public Connection getConnection() throws ClassNotFoundException{
try{
Class.forName("com.mysql.jdbc.Driver");
String url="jdbc:mysql://localhost:3306/test";
String user="root";
String passWord="family";
conn=DriverManager.getConnection(url,user,passWord);
if(conn!=null){
System.out.println("数据库连接成功");
}
}catch(SQLException e){
e.printStackTrace();
}
return conn;
}
public static void main(String[] args) throws ClassNotFoundException {
GetConn getConn=new GetConn();
getConn.getConnection();
环境变量我也配了,包也导入工程中了,请问是哪个地方出现了问题