[#3498] - JRXML not compiling in Java 8

Category:
Bug report
Priority:
Immediate
Status:
Resolved
Project: Severity:
Critical
Resolution:
Fixed
Component: Reproducibility:
Always
Assigned to:
2

We have a report that compiles fine under Java 7. With Java 8 going GA, we wanted to test there as well. When we compile the following expression under Java 8

<textFieldExpression><![CDATA[( new Boolean($P{comparisonBase}.equals("YOY")) ? $R{label.campaign.prior.year} : $R{label.campaign.prior.period} )]]></textFieldExpression>

We get this exception thrown.

Caused by: org.springframework.context.ApplicationContextException: Could not parse JasperReports report from ServletContext resource [/WEB-INF/report/marketing/marketing_overview.jrxml]; nested exception is net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
value = ( new Boolean(((java.lang.String)parameter_comparisonBase.getValue()).equals("YOY")) ? str("label.campaign.prior.year") : str("label.campaign.prior.period") ); //$JR_EXPR_ID=22$
<------------------------------------------------------------------->
1 errors

This does not occur in Java 7.

v4.8.0
scroberts's picture
Joined: Mar 19 2014 - 5:23pm
Last seen: 5 years 11 months ago

22 Comments:

#1
  • Assigned:nobody»

Worked fine for me on a quick test.

Do you have a JDT jar on your application's classpath?

Regards,
Lucian

#2
  • Assigned:» anonymous

I should add this this isn't a problem with the application compiling, just the JRXML in case I didn't mention. It happens during runtime when Tomcat is starting up and compiles the JRXML files.

That being said, I don't seem to have anything in my Maven dependencies (compile or runtime) that seem to be a JDT jar. Excuse my knowledge about this jar, but it looks like it is an Eclipse focused jar. What is it needed for? Also, if you could provide a link to it in maven, that would be very helpful. I can try adding it as a runtime dependency and see if it solves the issue.

The strange part to all of this is that it works just fine in Java 7, only fails in Java 8. It would be interesting to know what changed so much in those releases to cause an issue like that.

#3

Eclipse JDT is used in JR to compile report expressions into Java bytecode, which is used to evaluate the expressions when generating the report.

JR has the following dependency in Maven for JDT:

<dependency>
<groupId>eclipse</groupId>
<artifactId>jdtcore</artifactId>
<version>3.1.0</version>
<scope>compile</scope>
</dependency>

As you can see it's not optional, so if you are using JR from the public repository you should have it (unless specifically excluded).

#4

The Jasper Reports version we're using from the public Maven repo is 'net.sf.jasperreports:jasperreports:4.8.0'. I took a look here (http://mvnrepository.com/artifact/net.sf.jasperreports/jasperreports/4.8.0) and it looks like that version is pulling in JDT 3.1.0 as a dependency already. Further, if it wasn't pulling in that class, I'd expect it to fail in Java 7 as well if it was just a dependency issue. Since I'm using the exact same .war in both Java 7 and Java 8 it should have an issue with that dependency not being there for both I'd assume.

#5

Right, so we can assume that JDT is on the classpath.

It works fine for me anyway. If you have a self contained test case to reproduce the error, we would be able to investigate it. Otherwise we cannot tell what and why is happening.

#6
  • Priority:Normal» High
  • Severity:Major» Block
  • Status:New» Confirmed

We are running into this same issue when trying to run on Java 8. Works great with Java 7 and 6. I attached the jrxml that will not compile.

SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.view.XmlViewResolver#0' defined in ServletContext resource [/WEB-INF/spring/webapp-context.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loanAgreement' defined in class path resource [jasper-views.xml]: Initialization of bean failed; nested exception is org.springframework.context.ApplicationContextException: Could not parse JasperReports report from class path resource [reports/rtsd/LoanAgreement.jrxml]; nested exception is net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
String.valueOf(((java.lang.Integer)field_day.getValue())).substring(String.valueOf(((java.lang.Integer)field_day.getValue())).length() - 1).equals("1") ? "st" : //$JR_EXPR_ID=8$
<----------------------------------------------------------------------------------------------------------------------------------------------------->
1 errors

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:700)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loanAgreement' defined in class path resource [jasper-views.xml]: Initialization of bean failed; nested exception is org.springframework.context.ApplicationContextException: Could not parse JasperReports report from class path resource [reports/rtsd/LoanAgreement.jrxml]; nested exception is net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
String.valueOf(((java.lang.Integer)field_day.getValue())).substring(String.valueOf(((java.lang.Integer)field_day.getValue())).length() - 1).equals("1") ? "st" : //$JR_EXPR_ID=8$
<----------------------------------------------------------------------------------------------------------------------------------------------------->
1 errors

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:700)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
at org.springframework.web.servlet.view.XmlViewResolver.initFactory(XmlViewResolver.java:145)
at org.springframework.web.servlet.view.XmlViewResolver.afterPropertiesSet(XmlViewResolver.java:93)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1612)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1549)
... 21 more
Caused by: org.springframework.context.ApplicationContextException: Could not parse JasperReports report from class path resource [reports/rtsd/LoanAgreement.jrxml]; nested exception is net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
String.valueOf(((java.lang.Integer)field_day.getValue())).substring(String.valueOf(((java.lang.Integer)field_day.getValue())).length() - 1).equals("1") ? "st" : //$JR_EXPR_ID=8$
<----------------------------------------------------------------------------------------------------------------------------------------------------->
1 errors

at org.springframework.web.servlet.view.jasperreports.AbstractJasperReportsView.loadReport(AbstractJasperReportsView.java:528)
at org.springframework.web.servlet.view.jasperreports.AbstractJasperReportsView.loadReport(AbstractJasperReportsView.java:478)
at org.springframework.web.servlet.view.jasperreports.AbstractJasperReportsView.initApplicationContext(AbstractJasperReportsView.java:308)
at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:120)
at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupport.java:73)
at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:74)
at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:119)
at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:94)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1545)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
... 33 more
Caused by: net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
String.valueOf(((java.lang.Integer)field_day.getValue())).substring(String.valueOf(((java.lang.Integer)field_day.getValue())).length() - 1).equals("1") ? "st" : //$JR_EXPR_ID=8$
<----------------------------------------------------------------------------------------------------------------------------------------------------->
1 errors

at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:204)
at net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:241)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:501)
at org.springframework.web.servlet.view.jasperreports.AbstractJasperReportsView.loadReport(AbstractJasperReportsView.java:513)
... 43 more

AttachmentSize
Binary Data loanagreement.jrxml56.78 KB
#7
  • Assigned:anonymous» lucianc

I managed to reproduce the error. It only occurs with JDT 3.1.0, 3.1.1 works fine.

If you use Maven, you can workaround the problem by excluding eclipse:jdtcore:3.1.0 from JR's transitive dependencies in your project, and adding an explicit dependency on org.eclipse.jdt:core:3.1.1.

We are going to take this opportunity to upgrade the JDT dependency to a much more recent version.

#8
  • Priority:High» None

Confirmed your workaround.

<dependency>
<groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>5.5.2</version>
<exclusions>
<exclusion>
<groupId>eclipse</groupId>
<artifactId>jdtcore</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>core</artifactId>
<version>3.1.1</version>
</dependency>

#9
  • Resolution:Open» Fixed
  • Status:Confirmed» Resolved

We have upgraded to ECJ 4.3.1 at SVN trunk revision 7112. Marking as fixed.

#10
  • Priority:None» Normal
  • Resolution:Fixed» Reopened
  • Status:Resolved» Assigned

I'm using JR 5.6.1 via maven and still facing this issue. I don't know if SVN trunk revision 7112 is included in 5.6.1 or not, however since 5.6.1 was released way after comment #9, I assume revno 7112 is included.

It happens also if I apply the workaround in comment 7.

#11
  • Priority:Normal» Immediate

Replace Contains with indexOf("")>-1

#12

Quick Solution is Replace Contains with indexOf("")>-1

#13

Hello, Java 7 is End Of Life in April 2015.
Is it possble that java 8 is supported in next time ?
Because it will be more hard to run all on Java 7.

Thanks

#14

Any idea when this will be fixed?

Thanks.

#15
  • Resolution:Reopened» Fixed
  • Status:Assigned» Resolved

The problem is fixed in 6.0, the exact commit (also mentioned in comment 9) was http://sourceforge.net/p/jasperreports/code/ci/895f6a1079e5ac387d7077038...

5.6.1 does not have the fix, it was released off a branch. The workaround descried in comments 7 and 8 can be used for 5.6.1.

Regards,
Lucian

#16

issue come back if you use latest version of org.eclipse.jdt.core.compiler.batch is 3.12.0.v20160516-2131
this version come with eclipse neon

#17

Using org.eclipse.jdt.core_3.12.0.v20160516-2131.jar from Eclipse Neon worked fine for me. Please explain a test case in detail to reproduce the problem.

Regards,
Lucian

#18

I'M TRYING TO CALL A JRXML REPORT FROM ECLIPSE IN JSP.. BUT SEND ME THIS:

1. The method SUM(BigDecimal) is undefined for the type Prueba8_1499965764162_591598
value = IF(((java.lang.Integer)variable_REPORT_COUNT.getValue())>20,SUM(((java.math.BigDecimal)field_PEIIS_NAME1.getValue())),null); //$JR_EXPR_ID=12$

javax.servlet.ServletException: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression for source text: IF($V{REPORT_COUNT}>20,SUM($F{PEIIS_NAME1}),null) // THIS IS THE PROBLEM... BUT IN JASPERREPORTS RUNS VERY WELL BUT IN ECLIPSE DONT

at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:916)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:845)
at org.apache.jsp.ReporteJasper1_jsp._jspService(ReporteJasper1_jsp.java:166)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:414)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:452)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)
Caused by: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression for source text: IF($V{REPORT_COUNT}>20,SUM($F{PEIIS_NAME1}),null)
at net.sf.jasperreports.engine.fill.JREvaluator.evaluateEstimated(JREvaluator.java:352)
at net.sf.jasperreports.engine.fill.JRCalculator.evaluateEstimated(JRCalculator.java:607)
at net.sf.jasperreports.engine.fill.JRCalculator.estimateVariables(JRCalculator.java:208)
at net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:1392)
at net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:1366)
at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:1085)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:113)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:582)
at net.sf.jasperreports.engine.fill.BaseReportFiller.fill(BaseReportFiller.java:396)
at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:90)
at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:286)
at net.sf.jasperreports.engine.JasperRunManager.runToPdf(JasperRunManager.java:253)
at net.sf.jasperreports.engine.JasperRunManager.runReportToPdf(JasperRunManager.java:754)
at org.apache.jsp.ReporteJasper1_jsp._jspService(ReporteJasper1_jsp.java:142)
... 29 more
Caused by: java.lang.NoClassDefFoundError: net/sf/jasperreports/functions/standard/MathFunctions
at Prueba8_1499965218625_557339.evaluateEstimated(Prueba8_1499965218625_557339:565)
at net.sf.jasperreports.engine.fill.JREvaluator.evaluateEstimated(JREvaluator.java:338)
... 42 more

#19
  • Severity:Block» Critical
  • Resolution:Fixed» Open
  • Status:Resolved» New

Hi,

I have added below dependencies to my pom.xml
<dependency>
<groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>6.4.1</version>
<exclusions>
<exclusion>
<groupId>eclipse</groupId>
<artifactId>jdtcore</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>core</artifactId>
<version>3.1.1</version>
</dependency>

This works fine in my local with eclipse ans maven.
But hit below exception in my UAT environment.
2018-09-11 11:58:56,811 ERROR [net.sf.jasperreports.engine.design.JRJdtCompiler] (default task-41) Compilation error: org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException
at org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.<init>(ClassFileReader.java:372)
at net.sf.jasperreports.engine.design.JRJdtCompiler$1.findType(JRJdtCompiler.java:251)
at net.sf.jasperreports.engine.design.JRJdtCompiler$1.findType(JRJdtCompiler.java:187)
at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:102)
at org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding.resolve(UnresolvedReferenceBinding.java:49)
at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveType(BinaryTypeBinding.java:122)
at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeFromTypeSignature(LookupEnvironment.java:1188)
at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeFromVariantTypeSignature(LookupEnvironment.java:1244)
at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeArgumentsFromSignature(LookupEnvironment.java:1031)
at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeFromTypeSignature(LookupEnvironment.java:1193)
at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.createMethod(BinaryTypeBinding.java:495)
2018-09-11 12:08:49,205 INFO [stdout] (default task-60) [2018-09-11 12:08:49,204] [default task-60] [ERROR] [ReportServiceImpl] - Could not generate report {}
2018-09-11 12:08:49,205 INFO [stdout] (default task-60) net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
2018-09-11 12:08:49,206 INFO [stdout] (default task-60) 1. The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
2018-09-11 12:08:49,206 INFO [stdout] (default task-60) /*
2018-09-11 12:08:49,206 INFO [stdout] (default task-60) ^
2018-09-11 12:08:49,206 INFO [stdout] (default task-60) 1 errors
2018-09-11 12:08:49,206 INFO [stdout] (default task-60) .
2018-09-11 12:08:49,206 INFO [stdout] (default task-60) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:206) ~[jasperreports-6.4.1.jar:6.4.1]
2018-09-11 12:08:49,207 INFO [stdout] (default task-60) at net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:357) ~[jasperreports-6.4.1.jar:6.4.1]
2018-09-11 12:08:49,207 INFO [stdout] (default task-60) at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:617) ~[jasperreports-6.4.1.jar:6.4.1]

Please assit.

#20
#21

JasperReports 6.4.1 depends on org.eclipse.jdt.core.compiler:ecj:4.3.1, you should not add org.eclipse.jdt:jdtcore:3.1.1 as a dependency. If ecj 4.3.1 doesn't work for you, what you could try is to bring ecj 4.4.2, which what newer JasperReports depend on.

#22
  • Resolution:Open» Fixed
  • Status:New» Resolved
Feedback
randomness