NetBeans:JasperReport Exception

前端 未结 3 354
走了就别回头了
走了就别回头了 2021-01-14 01:51

I\'m working on a project that needs Jasper reporting, I have used the code fragment mentioned below to view the report in NetBeans 6.1 (the report is originally generated a

3条回答
  •  太阳男子
    2021-01-14 02:47

    It means that the groovy library dependency is missing.

    We can add the groovy-1.7.5.jar (it depends on JasperReports version) in classpath to resolve this issue.

    We can find the groovy's dependency in the the JasperReports library pom.xml file. For the JR 4.5.0 version it is:

    
            org.codehaus.groovy
            groovy-all
            1.7.5
            compile
            true
    
    

    In case of using maven we can add this dependency to the project:

    
            org.codehaus.groovy
            groovy-all
            1.7.5
    
    

提交回复
热议问题