Jasper报告运行错误 [英] Jasper report error in runing
本文介绍了Jasper报告运行错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在创建jasper报告,但出现此错误,
帮帮我为什么会发生这种情况
i am creating jasper report i am getting this error,
Help me why this happening
java.lang.NoClassDefFoundError: org/codehaus/groovy/control/CompilationFailedException
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
java.lang.Class.getConstructor0(Class.java:2699)
java.lang.Class.newInstance0(Class.java:326)
java.lang.Class.newInstance(Class.java:308)
net.sf.jasperreports.engine.JasperCompileManager.getCompiler(JasperCompileManager.java:469)
net.sf.jasperreports.engine.JasperCompileManager.loadEvaluator(JasperCompileManager.java:235)
net.sf.jasperreports.engine.fill.JRFillDataset.createCalculator(JRFillDataset.java:427)
推荐答案
在这里是一个德国论坛,在那里解释了问题 [
Here is a German Forum where the problem is explained[^] (translated with Google translator)
so the problem seems to be that you might be using inconsistent JAR-files. Please make sure you have the correct ones.
I have noticed that you have more problems with JASPER. I would like to recommend to buy a book on how to accomplish the tasks ahead. A book reveals some secrets you otherwise would need a keyword to find out about. So a good old fashion book is a good investment (ether for you or for your company).
这篇关于Jasper报告运行错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文