I get the message like this :
java.sql.SQLException: C:\test.xls
doesn't exist or can't be accessed! If you're using mapped driver to access Win
dows, maybe it's a secuirty issue.
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.sql.bm.a(Unknown Source)
at com.hxtt.sql.excel.v.(Unknown Source)
I can connect other excel file except this one.
When I get message like this? please, would you explain the situation which can make this kind of error more deeply?
regards,
|
Try
catch (SQLException sqle) {
do {
System.out.println(sqle.getMessage());
System.out.println("Error Code:" + sqle.getErrorCode());
System.out.println("SQL State:" + sqle.getSQLState());
sqle.printStackTrace();
}
while ( (sqle = sqle.getNextException()) != null);
}
You will see detailed message. That test.xls should contains some invalid information which was refused to process by HXTT Excel. You can email us that sample if you think that file was correct.
|