ant打包的时候出错:D:\MyProject\build.xml:69: Compile failed; see the comp
点击右边红色标题查看本文完整版:ant打包的时候出错:D:\MyProject\build.xml:69: Compile failed; see the compiler error output for details.
?
? 用ant打包的时候出错:
? [javac] D:\MyProject\src\java\com\freeze\test\XMLTester.java:14: cannot resolve symbol
? [javac] symbol : class SAXReader
? [javac] location: class com.freeze.test.XMLTester
? [javac] Document aDoc = new SAXReader().read(new File("D://test//Person.xml"));
? [javac] ^
?
? 昨天还好好的,而且XMLTester在eclipse上能跑起来的。
? 好像是我在配置窗口上按了一下“还原默认”,就出问题了。???
------解决方法--------------------
你确定不是低级错误
------解决方法--------------------
SAXReader不在路径下?
------解决方法--------------------
看看你的build文件,是不是没有引入需要的jar包?
?