Jump to content
Changes to the Jaspersoft community edition download ×

ant pdf/html not working!


Recommended Posts

By: Anuradha - anura
ant pdf/html not working!
2003-10-14 23:56
Hi,
I'm trying to use jasper from UNIX...'am using jdk 1.4.1, jakarta ant 1.5, tomcat 4.0.5...

My ant compile and ant fill1 goes on well...
but when i try giving "ant pdf" i get the following error which 'am not able to resolve...
=========
Buildfile: build.xml

pdf:
(java) Exception in thread "main" java.lang.NoClassDefFoundError: com/lowag
ie/text/DocumentException
(java) at dori.jasper.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:135)
(java) at dori.jasper.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:106)
(java) at DataSourceApp.main(DataSourceApp.java:281)
(java) Java Result: 1
=========================

If i give "ant html", i get the following error:

Buildfile: build.xml

html:

(java) Exception in thread "main" java.lang.NoClassDefFoundError: dori/jasp
er/engine/JRException
(java) Java Result: 1

BUILD SUCCESSFUL
Total time: 1 minute 28 seconds
===================================

My dir struc is:
orbimaker/users/viral/jasper>

Inside jasper dir i've /lib and /classes.
/lib contains all the jar files(including itext-0.96.jar)

But i get this exception..
(java) Exception in thread "main" java.lang.NoClassDefFoundError: com/lowag
ie/text/DocumentException

I'm using jasperreports-0.4.6
Do i need to use jasper-0.5.0???
Help me plzz...! Deadline approaching soon..

Thanx,
anu.
=======

By: Anuradha - anura
RE: ant pdf/html not working!
2003-10-15 04:42
Hi,
I resolved the problem jus' now...
The problem was with my build.xml file and i changed the path location as follows:
 

    [/code]

It got resolved...anyways..thanx!
Anu.
====

Link to comment
Share on other sites

  • 6 years later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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...