JXLS的问题,急!!!
log4j:WARN No appenders could be found for logger (net.sf.jxls.transformer.SheetTransformer).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/jexl2/parser/Node
at net.sf.jxls.transformer.XLSTransformer.transformWorkbook(XLSTransformer.java:269)
at net.sf.jxls.transformer.XLSTransformer.transformXLS(XLSTransformer.java:221)
at net.sf.jxls.transformer.XLSTransformer.transformXLS(XLSTransformer.java:201)
at net.risesoft.xmgl.util.Test.outExcel(Test.java:42)
at net.risesoft.xmgl.util.Test.daochu(Test.java:33)
at net.risesoft.xmgl.util.Test.main(Test.java:50)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.jexl2.parser.Node
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 6 more
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/jexl2/parser/Node 缺包或者包冲突
缺包。直接去查查org.apache.commons.jexl2.parser.Node在哪个jar里面,下载个加进去就哦了。