Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Error " Watch "Error " New topic


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

Joined: Jul 08, 2003
Posts: 24199

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.

~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

Joined: Oct 13, 2005
Posts: 46337
Well done sorting it out
I agree. Here's the link:
subject: Error
It's not a secret anymore!