程序运行之后,一直出现以下问题,不知道什么原因,希望高手指导.
oracle.jdbc.driver.OracleDriver
Cannot Load Answer,System Exit.源代码,
public class SqlTestSystem
{
private static final String STUDENTSFILEDIR = "C:/LösungenvonStudenten/";
private boolean init()
{
LoadAnswer la = LoadAnswer.createInstance();
if(null == la)
{
System.out.println("Cannot Load Answer,System Exit.");
return false;
}
return true;
}
public void testStudentsAnswer()
{
if(!init())
{
return;
}
List<File> list = FileManager.getFiles(STUDENTSFILEDIR);
for(File file : list)
{
StudentsTest st = new StudentsTest(file);
st.run();
}
}
/**
*
* @param args
*/
public static void main(String []args)
{
SqlTestSystem sts = new SqlTestSystem ();
sts.testStudentsAnswer();
}
}
oracle.jdbc.driver.OracleDriver
Cannot Load Answer,System Exit.源代码,
public class SqlTestSystem
{
private static final String STUDENTSFILEDIR = "C:/LösungenvonStudenten/";
private boolean init()
{
LoadAnswer la = LoadAnswer.createInstance();
if(null == la)
{
System.out.println("Cannot Load Answer,System Exit.");
return false;
}
return true;
}
public void testStudentsAnswer()
{
if(!init())
{
return;
}
List<File> list = FileManager.getFiles(STUDENTSFILEDIR);
for(File file : list)
{
StudentsTest st = new StudentsTest(file);
st.run();
}
}
/**
*
* @param args
*/
public static void main(String []args)
{
SqlTestSystem sts = new SqlTestSystem ();
sts.testStudentsAnswer();
}
}
源代码呢??
你的la是空的,错误堆栈也没有。
代码也没贴
没人能帮你