Jasper Report Compile Error

Hi:

I am getting the following error in Eclipse.  It appears related to the JDT.  Can anyone give me direction on how to get rid of this error?

Rachel

java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getErrors()[Lorg/eclipse/jdt/core/compiler/IProblem;

at net.sf.jasperreports.engine.design.JRJdtCompiler$2.acceptResult(

JRJdtCompiler.java:418)Compiler.java:398)JRJdtCompiler.java:191)JRAbstractCompiler.java:190)JRDefaultCompiler.java:105)JasperCompileManager.java:212)ReportingManager.java:1292)DashboardServiceImpl.java:938)DashboardController.java:182)Native Method)

 

at org.eclipse.jdt.internal.compiler.Compiler.compile(

at net.sf.jasperreports.engine.design.JRJdtCompiler.compileUnits(

at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(

at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(

at net.sf.jasperreports.engine.JasperCompileManager.compileReport(

at com.amgen.reportingsuite.util.reports.ReportingManager.compileNFillReportData(

at com.amgen.reportingsuite.service.impl.DashboardServiceImpl.loadBreakoutById(

at com.amgen.reportingsuite.web.DashboardController.viewBreakout(

at sun.reflect.NativeMethodAccessorImpl.invoke0(

rdkozlowski's picture
Joined: Apr 3 2009 - 8:03am
Last seen: 14 years 5 months ago

5 Answers:

What JasperReports version are you using?  This might be fixed in recent versions..

Regards,

Lucian

lucianc's picture
87143
Joined: Jul 17 2006 - 1:10am
Last seen: 17 hours 27 min ago

I do not know if there is a duplicate jar that is using JRJdtCompiler

I am using Jasper Reports 2.0.1.  Please check out the classpath entries below and let me know if I need to remove any jars or add any jars.

This is my classpath entries 

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
 <classpathentry kind="src" path="src"/>
 <classpathentry kind="var" path="TOMCAT_HOME/common/lib/servlet-api.jar"/>
 <classpathentry kind="var" path="TOMCAT_HOME/common/lib/jasper-runtime.jar"/>
 <classpathentry kind="var" path="TOMCAT_HOME/common/lib/jsp-api.jar"/>
 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/EasyEclipse1.2.1/jre/lib/tools.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jasper-compiler.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jasper-compiler-jdt.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/classes12.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/devmgr.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jasperreports-2.0.1.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/struts-el.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/catalina-root.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/classes12dms.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-beanutils.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-collections-3.1.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-collections.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-dbcp-1.2.2.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-digester.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-el.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-fileupload-1.1.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-io-1.3.2.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-javaflow.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-lang.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-logging-1.1.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-logging.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-logging-adapters-1.1.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-logging-api-1.1.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-pool-1.4.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/ImportMap.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/itext-2.0.0.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jcommon-1.0.8.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jcommon-xml-1.0.8.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jfreechart-1.0.3.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jstl.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/junit.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/log4j-1.2.14.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/msql.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/mSync.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/msyncCom.1.1.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/mysql-connector-java-5.0.5-bin.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/naming-factory.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/naming-factory-dbcp.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/naming-resources.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/ocrs12.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/ojdbc14.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/olite40.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/olitejdbc40.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/olitejdbcpj40.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/poi-2.0-final-20040126.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/poi-2.5.1.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/poi-2.5.1-final-20040804.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/poi-contrib-2.5.1-final-20040804.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/poi-scratchpad-2.5.1-final-20040804.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/portlet-api.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/rowset.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/spring-beans.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/spring-context.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/spring-core.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/spring-dao.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/spring-jdbc.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/spring-web.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/spring-webmvc.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/standard.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/struts.jar"/>
 <classpathentry kind="output" path="build/WEB-INF/classes"/>
</classpath>
 

 

rkozlowski's picture
Joined: Jan 24 2007 - 10:30pm
Last seen: 16 years 8 months ago

JasperReports 2.0.1 is a rather old version, and (probably) not compatible with the JDT compiled from Tomcat5.5/common/lib/jasper-compiler-jdt.jar.

You should either upgrade the JR version or replace the JDT jar with the one that was shipped with JR 2.0.1.

Regards,

Lucian

lucianc's picture
87143
Joined: Jul 17 2006 - 1:10am
Last seen: 17 hours 27 min ago

I could not find a download for jasperreports-2.0.1.jar from the Internet any more and therefore, I could not find the jdt associated with it, so I downloaded  jasperreports-3.5.0.jar and jasperreports-3.5.0-javaflow.jar 

This is my classpath

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
 <classpathentry kind="src" path="src"/>
 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/EasyEclipse1.2.1/jre/lib/tools.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/struts-el.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/catalina-root.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/classes12.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/classes12dms.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-beanutils.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-collections-3.1.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-collections.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-dbcp-1.2.2.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-digester.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-el.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-fileupload-1.1.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-io-1.3.2.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-javaflow.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-lang.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-logging-1.1.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-logging.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-logging-adapters-1.1.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-logging-api-1.1.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/commons-pool-1.3.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/itext-2.0.0.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jasper-compiler.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jasper-compiler-jdt.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jasper-runtime.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jcommon-1.0.8.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jcommon-xml-1.0.8.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jfreechart-1.0.3.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jsp-api.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jstl.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/junit.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/log4j-1.2.14.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/msql.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/mSync.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/msyncCom.1.1.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/mysql-connector-java-5.0.5-bin.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/naming-factory.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/naming-factory-dbcp.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/naming-resources.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/ocrs12.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/ojdbc14.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/olite40.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/olitejdbc40.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/olitejdbcpj40.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/poi-2.0-final-20040126.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/poi-2.5.1.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/poi-2.5.1-final-20040804.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/poi-contrib-2.5.1-final-20040804.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/poi-scratchpad-2.5.1-final-20040804.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/portlet-api.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/rowset.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/servlet-api.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/spring-beans.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/spring-context.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/spring-core.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/spring-dao.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/spring-jdbc.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/spring-web.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/spring-webmvc.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/standard.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/struts.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jasperreports-3.5.0.jar"/>
 <classpathentry kind="lib" path="C:/SOFTWARE/Tomcat5.5/common/lib/jasperreports-3.5.0-javaflow.jar"/>
 <classpathentry kind="output" path="build/WEB-INF/classes"/>
</classpath>

I am no longer getting the previous error, but now I am getting a different error:

net.sf.jasperreports.engine.JRException

 

: Errors were encountered when compiling report expressions class file:JRAbstractCompiler.java:195)JasperCompileManager.java:219)ReportingManager.java:1292)ReportServiceImpl.java:2083)ReportingController.java:253)SimpleFormController.java:214)AbstractFormController.java:559)SimpleFormController.java:198)SimpleFormController.java:175)AbstractFormController.java:323)AbstractFormController.java:263)AbstractController.java:153)SimpleControllerHandlerAdapter.java:45)DispatcherServlet.java:820)DispatcherServlet.java:755)FrameworkServlet.java:396)FrameworkServlet.java:350)HttpServlet.java:627)HttpServlet.java:729)ApplicationFilterChain.java:252)ApplicationFilterChain.java:173)StandardWrapperValve.java:213)StandardContextValve.java:178)StandardHostValve.java:126)ErrorReportValve.java:105)StandardEngineValve.java:107)CoyoteAdapter.java:148)Http11Processor.java:869)Http11BaseProtocol.java:664)PoolTcpEndpoint.java:527)LeaderFollowerWorkerThread.java:80)ThreadPool.java:684)

any thoughts?

1. The type Anemia32Outcomes32Summary32Report3240Facility32Level41_1239213433849_452235 must implement the inherited abstract method JREvaluator.customizedInit(Map, Map, Map)

public class Anemia32Outcomes32Summary32Report3240Facility32Level41_1239213433849_452235 extends JREvaluator

<------------------------------------------------------------------------->

2. The method get(String) is undefined for the type Map

parameter_REPORT_RESOURCE_BUNDLE = (JRFillParameter)pm.get("REPORT_RESOURCE_BUNDLE");

<->

3. The method get(String) is undefined for the type Map

parameter_JASPER_REPORT = (JRFillParameter)pm.get("JASPER_REPORT");

<->

4. The method get(String) is undefined for the type Map

parameter_REPORT_CLASS_LOADER = (JRFillParameter)pm.get("REPORT_CLASS_LOADER");

<->

5. The method get(String) is undefined for the type Map

parameter_REPORT_FORMAT_FACTORY = (JRFillParameter)pm.get("REPORT_FORMAT_FACTORY");

<->

6. The method get(String) is undefined for the type Map

parameter_REPORT_TIME_ZONE = (JRFillParameter)pm.get("REPORT_TIME_ZONE");

<->

7. The method get(String) is undefined for the type Map

parameter_REPORT_DATA_SOURCE = (JRFillParameter)pm.get("REPORT_DATA_SOURCE");

<->

8. The method get(String) is undefined for the type Map

parameter_REPORT_LOCALE = (JRFillParameter)pm.get("REPORT_LOCALE");

<->

9. The method get(String) is undefined for the type Map

parameter_REPORT_FILE_RESOLVER = (JRFillParameter)pm.get("REPORT_FILE_RESOLVER");

<->

10. The method get(String) is undefined for the type Map

parameter_REPORT_URL_HANDLER_FACTORY = (JRFillParameter)pm.get("REPORT_URL_HANDLER_FACTORY");

<->

11. The method get(String) is undefined for the type Map

parameter_REPORT_PARAMETERS_MAP = (JRFillParameter)pm.get("REPORT_PARAMETERS_MAP");

<->

12. The method get(String) is undefined for the type Map

parameter_REPORT_CONNECTION = (JRFillParameter)pm.get("REPORT_CONNECTION");

<->

13. The method get(String) is undefined for the type Map

parameter_IS_IGNORE_PAGINATION = (JRFillParameter)pm.get("IS_IGNORE_PAGINATION");

<->

14. The method get(String) is undefined for the type Map

parameter_REPORT_TEMPLATES = (JRFillParameter)pm.get("REPORT_TEMPLATES");

<->

15. The method get(String) is undefined for the type Map

parameter_REPORT_VIRTUALIZER = (JRFillParameter)pm.get("REPORT_VIRTUALIZER");

<->

16. The method get(String) is undefined for the type Map

parameter_REPORT_SCRIPTLET = (JRFillParameter)pm.get("REPORT_SCRIPTLET");

<->

17. The method get(String) is undefined for the type Map

parameter_REPORT_MAX_COUNT = (JRFillParameter)pm.get("REPORT_MAX_COUNT");

<->

18. The method get(String) is undefined for the type Map

variable_PAGE_NUMBER = (JRFillVariable)vm.get("PAGE_NUMBER");

<->

19. The method get(String) is undefined for the type Map

variable_COLUMN_NUMBER = (JRFillVariable)vm.get("COLUMN_NUMBER");

<->

20. The method get(String) is undefined for the type Map

variable_REPORT_COUNT = (JRFillVariable)vm.get("REPORT_COUNT");

<->

21. The method get(String) is undefined for the type Map

variable_PAGE_COUNT = (JRFillVariable)vm.get("PAGE_COUNT");

<->

22. The method get(String) is undefined for the type Map

variable_COLUMN_COUNT = (JRFillVariable)vm.get("COLUMN_COUNT");

<->

23. The method get(String) is undefined for the type Map

variable_singleGridTitle_COUNT = (JRFillVariable)vm.get("singleGridTitle_COUNT");

<->

24. The method get(String) is undefined for the type Map

variable_oneTable_COUNT = (JRFillVariable)vm.get("oneTable_COUNT");

<->

24 errors

 

at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(

at net.sf.jasperreports.engine.JasperCompileManager.compileReport(

at com.amgen.reportingsuite.util.reports.ReportingManager.compileNFillReportData(

at com.amgen.reportingsuite.service.impl.ReportServiceImpl.generatePreFormattedReport(

at com.amgen.reportingsuite.web.ReportingController.referenceData(

at org.springframework.web.servlet.mvc.SimpleFormController.referenceData(

at org.springframework.web.servlet.mvc.AbstractFormController.showForm(

at org.springframework.web.servlet.mvc.SimpleFormController.showForm(

at org.springframework.web.servlet.mvc.SimpleFormController.showForm(

at org.springframework.web.servlet.mvc.AbstractFormController.showNewForm(

at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(

at org.springframework.web.servlet.mvc.AbstractController.handleRequest(

at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(

at org.springframework.web.servlet.DispatcherServlet.doDispatch(

at org.springframework.web.servlet.DispatcherServlet.doService(

at org.springframework.web.servlet.FrameworkServlet.processRequest(

at org.springframework.web.servlet.FrameworkServlet.doGet(

at javax.servlet.http.HttpServlet.service(

at javax.servlet.http.HttpServlet.service(

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

at org.apache.catalina.core.ApplicationFilterChain.doFilter(

at org.apache.catalina.core.StandardWrapperValve.invoke(

at org.apache.catalina.core.StandardContextValve.invoke(

at org.apache.catalina.core.StandardHostValve.invoke(

at org.apache.catalina.valves.ErrorReportValve.invoke(

at org.apache.catalina.core.StandardEngineValve.invoke(

at org.apache.catalina.connector.CoyoteAdapter.service(

at org.apache.coyote.http11.Http11Processor.process(

at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(

at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(

at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(

at java.lang.Thread.run(Unknown Source)

rkozlowski's picture
Joined: Jan 24 2007 - 10:30pm
Last seen: 16 years 8 months ago

Solution-Reinstall Tomcat and then go into Catalina\localhost and make sure docBase is correct.  Also go into Eclipse and make sure that Tomcat settings are correct.

My problem was caused by copying all of my coworker's jars into my Tomcat common\lib and overwriting the jars that were already there. 

rkozlowski's picture
Joined: Jan 24 2007 - 10:30pm
Last seen: 16 years 8 months ago
Feedback
randomness