JXLS的问题,急!!!

戴林华 发布于 2015/01/19 11:52
阅读 3K+
收藏 0
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

加载中
0
sxgkwei
sxgkwei
缺包。直接去查查org.apache.commons.jexl2.parser.Node在哪个jar里面,下载个加进去就哦了。
0
飘逸的逸
飘逸的逸
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/jexl2/parser/Node 缺包或者包冲突
返回顶部
顶部