Error on console, but it works

0

 

Hello, I got an error launching my jasper app from Java. Everithing works fine, but I have this stackstrace in my console:

Error instantiating extensions registry for queryexecuters.hive from jar:file:/C:/Users/Username/workspace/.metadata/.plugins/org.eclipse.wst.server.‌ ​ core/tmp3/wtpwebapps/MyAPP/WEB-INF/lib/js-hive-datasource-1.1.jar!/jasperrepo‌ ​rts_extension.properties

Why it can't find jasperreports_extension.properties into the jar? Is there some bug inside the library?

gdantimi's picture
Joined: Aug 23 2012 - 7:53am
Last seen: 9 years 2 months ago
Please edit your question so that it includes a question.
mdahlman - 9 years 2 months ago
@mdahlman Sorry, question edited.
gdantimi - 9 years 2 months ago
The error doesn't seem to say that it cannot find jasperreports_extension.properties. It cannot instantiate the query executer. I guess the problem is more along the lines of some other dependency that is missing. You don't need js-hive-datasource-1.1.jar. Remove that and let us know if that fixes it.
mdahlman - 9 years 2 months ago
show 1 more...
@mdahlman It worked, thanks. Which are the minimum libraries to make a report in Java?
gdantimi - 9 years 2 months ago

1 Answer:

0

If you aren't using Hadoop Hive, then consider removing js-hive-datasource-1.1.jar. Maybe that will solve your error.

mdahlman's picture
16610
Joined: Mar 13 2007 - 2:43am
Last seen: 7 years 2 months ago
@mdahlman I don't know if it is useful for me, I'm not so expert. I put all libraries in my project. Anyway, why that error inside the library? What is Hadoop Hive?
gdantimi - 9 years 2 months ago
Feedback
randomness