简体   繁体   English

使用Java问题提取Jasper报告:NoClassDefFound Groovy

[英]Extracting jasper reports with java issue: NoClassDefFound Groovy

Tried integrating java code with Jasper and facing the below mentioned issue in console. 尝试将Java代码与Jasper集成在一起,并在控制台中遇到以下问题。

org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: groovy/lang/GroovyObject

can anyone help for the same. 任何人都可以帮忙吗

Have you set the correct host language in your report? 您是否在报告中设置了正确的宿主语言? It should be Java, and you might have accidentially set it to Groovy, or might have forgotten to change it to Java. 它应该是Java,并且您可能不小心将其设置为Groovy,或者可能忘记了将其更改为Java。 Check the properties view: 检查属性视图:

.

Hope that helps! 希望有帮助! Best regards, h. 最好的问候,h。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM