JRRuntimeException: Unknown hyperlink target 0

Today I got this Exception: net.sf.jasperreports.engine.JRRuntimeException: Unknown hyperlink target 0 The problem was that I generated the “*.jasper” file with a diffrent version than I used in my app. Since I generated the “*.jasper” file with iReport 4.0.1 and I am using jasperReports 4.0.1 in the tomcat, this error dosn’t occur.

JasperReport / SubReport not displayed

We are using the open source framework JasperReports to creating PDF reports. One of my Team members wanted to create a MasterReport with a SubReport. The SubReport was nothing special, it included just static Text.The problem was, that the subreport was not rendered, it was always empty. The problem was that the subreport need toContinue reading “JasperReport / SubReport not displayed”

JasperReports 3.5.3 + Spring 3.0.0.RELEASE

This maven2 archetype contains a little sample application with the new Spring 3.0.0.RELEASE Framework and JasperReports 3.5.3. The configuration is xml-driven. It is deployed on the PLOIN Repository-Server on http://www.ploin-m2.de/nexus/content/groups/public/ you can create a project from the archetype with the following command: mvn archetype:generate -DarchetypeGroupId=org.ploin.archetype -DarchetypeArtifactId=tempSpringJasperReports -DarchetypeVersion=1.0 -DarchetypeRepository=http://www.ploin-m2.de/nexus/content/groups/public/ -DgroupId=org.ploin -DartifactId=demoSpringJasperReport The created project is aContinue reading “JasperReports 3.5.3 + Spring 3.0.0.RELEASE”

JasperReports, strech with overflow

In JasperReports hat man oft das Problem das Texte einfach abgeschnitten werden. Wenn ein Textfeld nicht hoch oder breit genug ist, wird abgeschnitten. Das ist das standardverhalten vom Framework. Wenn sich das Feld dem Textinhalt dynamisch anpassen soll muss das Attribut “stretch with overflow” den Wert “true” haben. In dem grafischen Editor iReport muss manContinue reading “JasperReports, strech with overflow”

JasperReports, NoClassDefFoundError: org/apache/commons/javaflow/bytecode/Continuable

Neulich habe ich mir JasperReports 2.0.4 und iReport 2.0.4 runtergeladen. Ich habe mir mit iReport einen Report zusammengeklickt und aus iReport heraus den Report compiliert. Nachdem ich die compilierte Datei in mein Eclipse-Projekt kopiert habe und diese in meinem Programm verwenden wollte, erhielt ich die folgende Exception. java.lang.NoClassDefFoundError: org/apache/commons/javaflow/bytecode/Continuable at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:675) atContinue reading “JasperReports, NoClassDefFoundError: org/apache/commons/javaflow/bytecode/Continuable”