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

Getting java.lang.NoSuchFieldError: APPDEFAULT error when trying to export report to PDF


satyadoorva

Recommended Posts

Hi, 

I am getting java.lang.NoSuchFieldError: APPDEFAULT  error when trying to export a jasper report to PDF . 

 

My settings are: 

[root@bounce ~]# uname -a

Linux MYHOST 2.6.18-194.el5PAE #1 SMP Tue Mar 16 22:00:21 EDT 2010 i686 i686 i386 GNU/Linux

Libs: 

jasperreports-4.1.3.jar
jasperreports-fonts-4.1.3.jar 
itext-2.0.6.jar
 
[root@bounce lib]# java -version
java version "1.7.0"
Java SE Runtime Environment (build 1.7.0-b147)
Java HotSpot Server VM (build 21.0-b17, mixed mode)
 
11:20:36,733 INFO  [AbstractServer] Starting: JBossAS [6.1.0.Final "Neo"] 
 
The code breaks at exporter.exportReport();
 
 
Any help will be greatly appreciated. 
 
Thanks
 
Satya

 

Code:



Post Edited by satyadoorva at 11/08/2011 06:51



Post Edited by satyadoorva at 11/08/2011 06:56
Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...