Jasper - No secret found for “XXXXX” key in “net.sf.jasperreports.data.adapter” category


We use jasper with java 1.7 for report generation. It works fine with Java 1.7 version. Gets the below specified exception after java version updation to Java1.8.


No secret found for "XXXXXX" key in "net.sf.jasperreports.data.adapter" category.

Here "XXXXXX" is my database password.

My Database configuration is:

<?xml version="1.0" encoding="UTF-8" ?>
<jdbcDataAdapter class="net.sf.jasperreports.data.jdbc.JdbcDataAdapterImpl">

Unable to figuring out solution to the issue. Can anybody help to fix this issue?

srinivasulu.dagda's picture
Joined: Apr 9 2018 - 11:34pm
Last seen: 3 years 1 week ago

2 Answers:

m.kamran's picture
Joined: Nov 3 2017 - 3:11am
Last seen: 2 years 11 months ago

You no longer need that jar from @m.kamran's answer. Those classes have made it into the core JasperReports library for several releases. It is just a matter of configuration. I have also replied to you on stackoverflow: https://stackoverflow.com/a/49817393/5882963

narcism's picture
Joined: Nov 22 2010 - 12:39am
Last seen: 1 day 5 hours ago