Jump to content
We've recently updated our Privacy Statement, available here ×

yoannbsk

Members
  • Posts

    4
  • Joined

  • Last visited

yoannbsk's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. FYI I retry with the "NorthWind" example from the github repo. I have the same issue: com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id 'net.sf.jasperreports.data.json.JsonDataAdapterImpl' as a subtype of `net.sf.jasperreports.data.DataAdapter`: no such class found
  2. If you need an example file of the jrxml or other, tell me. Thank you for your help
  3. In addition, this is working on template that doesn't have subDataset. I have created 2 jrxml, with the same jrdax, and java code. The one without subdataset works well, the one with subdataset have the java issue. I also add this property to the subdataset, or try other things without success : <subDataset name="subdata" uuid="b10ad888-7807-4c0a-8777-e6d66d476e6c"> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="JsonDataAdapter.jrdax"/>
  4. Hello, I'm currently having issue with the JRDAX file inside my Java project. The jrxml works well on JasperStudio, but no longer on the java side. I used the sample found here to complete my jrxml/jrdax/json : https://jasperreports.sourceforge.net/sample.reference/jsonqldatasource/index.html In the jrxml, I use the dataAdapter this way : <property name="com.jaspersoft.studio.data.defaultdataadapter" value="JsonDataAdapter.jrdax"/><property name="net.sf.jasperreports.data.adapter" value="JsonDataAdapter.jrdax"/>[/code] Here is the jrdax : <?xml version="1.0" encoding="UTF-8" ?><jsonDataAdapter class="net.sf.jasperreports.data.json.JsonDataAdapterImpl"> <name>JsonQL</name> <fileName>data.json</fileName> <useConnection>true</useConnection> <language>jsonql</language></jsonDataAdapter>[/code] and the java issue : 2023-10-05 09:31:41.315 ERROR 9732 --- [ Call: FSP-CLIS] c.t.f.r.p.b.i.CreateReportServiceBIImpl : Error while generating pdf: com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id 'net.sf.jasperreports.data.json.JsonDataAdapterImpl' as a subtype of `net.sf.jasperreports.data.DataAdapter`: no such class found at [source: (FileInputStream); line: 2, column: 1][/code] I'm using jasperreports 6.20.5 (I try with 6.20.6 and the issue is the same). The fact that I was able to generate my pdf the 02/10/23 around 16:30, but no longer the 04/10/23 in the morning. Thank you for any help
×
×
  • Create New...