当导入的包为:import java.sql.Statement;时,无任何错误
当导入的包为:import java.beans.Statement;时,出错
java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcStatement cannot be cast to java.beans.Statement
2023-10-31 17:30:40
当导入的包为:import java.sql.Statement;时,无任何错误
当导入的包为:import java.beans.Statement;时,出错
java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcStatement cannot be cast to java.beans.Statement