错误提示:Surce file and class file out of sync,Restart debug session?
程序代码片断如下:
filePath="D:\\call center\\01源代码\\内网WEB应用\\khfwWebApp\\khfwWeb\\WEB-INF\\config\\AppConfig.xml";
SAXBuilder builder = new SAXBuilder();
Document doc = builder.build(new FileInputStream(filePath));
Element root = doc.getRootElement(); //得到根元素
当我单步执 行时,在创建doc时就出错,出现如下错误提示:Source file and class file are out of sync,Restart debug session?
然后程序就卡住了,不知道是怎么回事?
问题点数:20、回复次数:2Top
1 楼pigo()回复于 2005-11-04 09:26:05 得分 0
你没有重新编译新的class,重新rebuild一下就行了.
Top
2 楼lake2005(空白)回复于 2005-11-04 12:36:19 得分 0
还是不行。Top




