wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Error " Watch "Error " New topic
Author

Error

Rachel Kozlowski
Ranch Hand

Joined: Jan 14, 2009
Posts: 40
I got the following error:

How can I fix it?

1. The type Lowest32Percent32of32Patients32with32Hemoglobin3210460451246032g47dL_1238430299127_25590 must implement the inherited abstract method JREvaluator.customizedInit(Map, Map, Map)
public class Lowest32Percent32of32Patients32with32Hemoglobin3210460451246032g47dL_1238430299127_25590 extends JREvaluator
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Wow, that's some class name!

The error message seems very clear to me; does it not makes sense to you?

The message says that the class with the very long name extends JREvaluator -- which must be an abstract class because it has an abstract method (or it inherits but does not implement an interface method) named customizedInit() that takes three Map arguments. Therefore either the class with the very long name must also be marked 'abstract", or it must implement that method.


[Jess in Action][AskingGoodQuestions]
Rachel Kozlowski
Ranch Hand

Joined: Jan 14, 2009
Posts: 40
Well, the problem is that the class is created dynamically by Jasper Reports (third party software).
I am failing on the : JasperReport reportObj = JasperCompileManager.compileReport(reportDesignObj); line.
So I am not sure how to I make it an abstract method? Please explain.

This is the complete syntax.
Brian Legg
Ranch Hand

Joined: Nov 07, 2008
Posts: 488
If the code that is giving you the error is being generated by 3rd party software inside the JasperCompileManager object then I don't think there is much you can do to your code. I would try contacting the 3rd party software vendor to see if they have a latest version out (you may have a version conflict) or to see if anyone else has had a similar problem. I doubt you will find anyone here that can fix your error. Sorry, hope that makes sense though.

SCJA
~Currently preparing for SCJP6
Rachel Kozlowski
Ranch Hand

Joined: Jan 14, 2009
Posts: 40
I will do that thank you for your assistance.
Rachel Kozlowski
Ranch Hand

Joined: Jan 14, 2009
Posts: 40
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.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40027
    
  28
Well done sorting it out
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error