Jasper Reports “package net.sf.jasperreports.engine does not exist” exception in JDeveloper 11.1 using WebLogic only in EAR Web Page

后端 未结 3 630
暗喜
暗喜 2021-01-03 09:43

I\'m using JDeveloper 11.1, Oracle 11 and TIBCO JasperReports 6.0.1.

I\'m having problems trying to generate Jasper Reports from my web page (ViewController) while u

相关标签:
3条回答
  • 2021-01-03 10:27

    I used eclipse ecj-4.3.1.jar and it works.

    0 讨论(0)
  • 2021-01-03 10:32

    First checks the dependencies of jasperReports - for example version 6.1.0 - https://mvnrepository.com/artifact/net.sf.jasperreports/jasperreports/6.1.0

    With this you can see if there is any dependency that is missing in your lib directory (webApp) or inside your .jar (if it is a main application of java).

    That mistake also happened to me, and I solved it by adding dependence

    <groupId>org.eclipse.jdt.core.compiler</groupId>
    <artifactId>ecj</artifactId>
    <version>4.3.1</version>
    

    I hope it supports you

    0 讨论(0)
  • 2021-01-03 10:39

    Well, as somebody says it was necessary to use jdt-compiler-3.1.1.jar. I added it to /lib folder and now it is working.

    It's really strange that this .jar is not in the installation product for TIBCO Jasper Reports 6.0.0 actually I descend until JR 3.7.6 which is the lowest version. The file is from 28/12/2008...

    Nice...

    0 讨论(0)
提交回复
热议问题