on 03-24-2010 2:41 PM
Hi Experts
I am developing an application with JasperReports based in this links:
[/people/jawed.ali/blog/2009/02/09/part-i-print-web-dynpro-java-applications-using-jasperreports|/people/jawed.ali/blog/2009/02/09/part-i-print-web-dynpro-java-applications-using-jasperreports]
[/people/jawed.ali/blog/2009/10/21/part-ii-print-web-dynpro-java-applications-using-jasperreports|/people/jawed.ali/blog/2009/10/21/part-ii-print-web-dynpro-java-applications-using-jasperreports]
[/people/jawed.ali/blog/2009/10/30/part-iii-print-web-dynpro-java-applications-using-jasperreports|/people/jawed.ali/blog/2009/10/30/part-iii-print-web-dynpro-java-applications-using-jasperreports]
In my application i have just one difference, i created an external library DC to put the jasperreports jar, and add as depenedent in my web dynpro project.
when i deploy and run the application i get some erros like this:
net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
D:\usr\sap\DC1\J00\j2ee\cluster\server0\Relatorio_teste_WD_1269440919163_475697.java:4: package net.sf.jasperreports.engine does not exist
import net.sf.jasperreports.engine.*;
^
D:\usr\sap\DC1\J00\j2ee\cluster\server0\Relatorio_teste_WD_1269440919163_475697.java:5: package net.sf.jasperreports.engine.fill does not exist
import net.sf.jasperreports.engine.fill.*;
^
D:\usr\sap\DC1\J00\j2ee\cluster\server0\Relatorio_teste_WD_1269440919163_475697.java:21: cannot find symbol
symbol: class JREvaluator
public class Relatorio_teste_WD_1269440919163_475697 extends JREvaluator
^
D:\usr\sap\DC1\J00\j2ee\cluster\server0\Relatorio_teste_WD_1269440919163_475697.java:29: cannot find symbol
symbol : class JRFillParameter
location: class Relatorio_teste_WD_1269440919163_475697
private JRFillParameter parameter_REPORT_CLASS_LOADER = null;
...
...
- The library app is already deployed.
- I use NWDS 7.1.EHP1 SP04
- When i test local in standalone app, the same code works.
I apreciate your help.
Regards
Marcos Brandu00E3
Hi Marcos,
I think there is some problem with the external library and used dependacy...
I look like WD application not able to find rquired jar for that. Please check the dependancy.
Regards
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did this steps to create a External Library:
1 - put the jars files in library Folder.
2 - publish as archive with compilation and with assemble for each jar.
3 - build and deploy it.
4 - Add the external library component in web dynpro compenent in it dependencies.
This is what i did. There is some another steps, or i did something wrong?
When i use the API of jasperreports in my code, works fine. I can find the classes. But qhen i deploy and run WD application, i get that error...
Regards
Marcos.
Just close thread.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.