mlwong Posted April 14, 2008 Share Posted April 14, 2008 I have created using my own classes in GUtil.jar. When testing in IReport, I have included the Classpath to it and created a variable to called a method within the external jar. It works perfectly. However when I deployed to my web application, somehow jasperreport engine throws an error saying, 'No such property: GUtil for class...'. I have already set the Windows variable Classpath. Already browsed the forum, but no postings on external jar. Appreciate any help. Link to comment Share on other sites More sharing options...
erer Posted April 14, 2008 Share Posted April 14, 2008 Hi, I'm not sure if I understand, but have you put import directive to your JasperDesign? Then if your web app can see the externall jar, then your report should too. best regards - erer Link to comment Share on other sites More sharing options...
mlwong Posted April 17, 2008 Author Share Posted April 17, 2008 Thanks for the reply. Found my solution. Forgot to include the classpath to my external jar in the build.xml to compile the report. Thanks again. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now