OpenERP Jasper Reports import external library

谁都会走 提交于 2021-02-17 05:15:47

问题


I use OpenERP with Jasper Report module. The problem is to get amount of generated pages in words. So I found the solution: import in iReport my own library in *.jar file and use some methods from it. But I get some problems. Аpparently, iReport's classpath to libraries didn't used in Jasper Reports in OpenERP and I always get 'Unable to resolve class' exception. I tryed to copy *.jar in 'jasper_reports/java/lib' folder, but it ineffectually. Maybe someone faced to this problem? And the question is: How to import my own java libraries in japser_reports? Or, ideally, get another way to print amount of pages in words.


回答1:


Create your java class without a package. Put in a JAR file and set it up.



来源:https://stackoverflow.com/questions/17039341/openerp-jasper-reports-import-external-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!