Jump to content
Changes to the Jaspersoft community edition download ×

Standalone java class not working in Jasper scriptlent


Muthukumaran M

Recommended Posts

I want the docx document with the following things as in MS word document
   1)Header and footer(edit of this should be applicable to all pages)
   2)Edit a cell of table should rearrange the table size and page numbers.

So,I have created standlone java class to generate docx file with global header and footer using Apache POI 3.16. But when i try to import the same class in japser scriptlet i am getting error 'Error loading scriptlet class'.

Can anyone explain, is there any limitations to load jar files in scriptlet or what types of java class/jar files (like classes having return statement) can be used in jasper scriptlet.

Or how can i use the standalone document write class file in jasper. If it is not possible is there any alternate ways to achieve the same output?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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