使用dom4j时SelectNodes()方法报错

it2022-05-19  58

Exception in thread "main" java.lang.NoClassDefFoundError: org/jaxen/JaxenException at org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230) at org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207) at org.dom4j.tree.AbstractNode.selectNodes(AbstractNode.java:164)

上边就是错误提示信息,解决方案就是下载一个jaxen.jar包,然后导入即可。

转载于:https://www.cnblogs.com/CheeseZH/archive/2012/11/28/2791903.html

相关资源:数据结构—成绩单生成器

最新回复(0)