Jump to content

harshalsonar777

Members
  • Posts

    12
  • Joined

  • Last visited

harshalsonar777's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact com.lowagie:itext:pom:2.1.7.js7 from/to jaspersoft-third-party (http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/): Failed to transfer file http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/lowagie/itext/2.1.7.js7/itext-2.1.7.js7.pom with status code 308 at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed (ArtifactTransportListener.java:52)
  2. new java.text.SimpleDateFormat("mm/dd/yyyy").format(new java.text.SimpleDateFormat("yyyy-mm-dd").parse($F{occurrenceDate})) try this inside expression editor
  3. Hello All, I have same problem, When i am trying to view report in pdf . can you please help me.
  4. If you want decode image from string. First you should drag "Image" from Palette, then go to the properties of Image paste this expression (new java.io.ByteArrayInputStream(org.apache.commons.codec.binary.Base64.decodeBase64($F{String}.getBytes()))) in the Image expression editor. Note: In my case Field name is "$F{String}".
  5. First you should check the log files Location of Jasper Server Log files. C:Jaspersoftjasperreports-server-cp-5.5.0apache-tomcatwebappsjasperserverWEB-INFlogs
  6. First check jasperreports jar file version. You should put jasperreports-5.5.0.jar file in Referenced Libraries in your java project and make sure there is no duplicate jar with diffrent version on it.
  7. I have done some investigations into this question. that a fix is to include jdt-compiler.jar file in your Java Project Referenced Libraries. http://www.java2s.com/Code/Jar/j/Downloadjdtcompilerjar.htm this is the link where you can download the jdt-compiler.jar file.
  8. I have done some investigations into this question. that a fix is to include jdt-compiler.jar file in your Java Project Referenced Libraries. http://www.java2s.com/Code/Jar/j/Downloadjdtcompilerjar.htm this is the link where you can download the jdt-compiler.jar file.
  9. You can write customizer class for hide border of legends Below customizer class code for hide border of legends Code: import org.jfree.chart.JFreeChart; import net.sf.jasperreports.engine.JRChart; import net.sf.jasperreports.engine.JRChartCustomizer; public class customLegendBorder implements JRChartCustomizer{ public void customize(JFreeChart chart, JRChart jasperChart){ if(chart.getLegend()!=null) { chart.getLegend().setBorder(0.0, 0.0, 0.0, 0.0); } } }
×
×
  • Create New...