problem with API [message #68797] |
Mon, 22 August 2005 09:37  |
Eclipse User |
|
|
|
Originally posted by: fremen.k9.pl
Hi! I've made webinterface for reports (kind, params, format),
but for security i don't want to use brit-viewer, but do it myself.
Pages are in JSP, viewer as Servlets, but in line:
ReportEngine engine =3D new ReportEngine( config );
i've got expetion:
java.lang.NoClassDefFoundError: org/mozilla/javascript/Scriptable
at reports.ReportServlet.run(ReportServlet.java:298)
I don't know what's wrong and how to avoid that.
I took code from example of using BIRT API.
Mirek
|
|
|
|
|
|
|
|
|
Re: problem with API [message #69581 is a reply to message #69307] |
Thu, 25 August 2005 08:58  |
Eclipse User |
|
|
|
Originally posted by: fremen.k9.pl
Hi!
I discovered that:
- path statring with /eclipse/... must end with /WEB-INF/brit, not =
/WEB-INF,
- i didn't want to put full path to eclipse (on local disk, for secure),=
so i'd tried to put those in /webapps/my_reports/birt, but in this case
it won't work (my reports site won't start), but if you put this to =
tomcat/webapps/birt/
and set correct path, it should work without any problems,
- the problem can be missing some *.jar - but this errors should Tomcat =
=
show (expetion
for class not found)
- code is almost the same as this in example on BIRTs site, i only
do minor changes for my dirs, etc.
Fremen
-- =
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
|
Powered by
FUDForum. Page generated in 0.07560 seconds