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

前端 未结 6 1391
终归单人心
终归单人心 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:15

    If you are using TIBCOJaspersoftStudio:

    1. Download latest groovy 2.4.* jar from http://groovy-lang.org/download.html
    2. Unpack and get this file ./groovy-2.4.10/embeddable/groovy-all-2.4.10.jar
    3. Put the jar in ./TIBCOJaspersoftStudio-6.3.1.final/plugins
    4. Delete the old jar: ./TIBCOJaspersoftStudio-6.3.1.final/plugins/groovy-all_2.4.5.jar

提交回复
热议问题