Why do I get compilation error “org/codehaus/groovy/control/CompilationFailedException”?

前端 未结 6 1387
终归单人心
终归单人心 2020-11-30 01:24

I am trying to compile my JasperReports template using an Ant script and Java. I am getting this error:

jasper java.lang.NoClassDefFoundError:
org/codehaus/g         


        
6条回答
  •  情书的邮戳
    2020-11-30 02:17

    If you are using Maven, you must add the groovy dependency in your pom.xml.

    
        org.codehaus.groovy
        groovy-all
        2.4.10
    
    

    In another case, you must add the library groovy in your lib folder (WEB-INF/lib)

提交回复
热议问题