Click to See Complete Forum and Search --> : XML Report using Java Repo


Gio.palombo
March 2nd, 2006, 10:19 AM
I'm trying to see a report build with crystal report XI release 2 in my jsp page using java reporting component, this report uses an xml file as datasource; I'm developing with websphere 5.1.1 i have the following error:
JRCAgent1 detected an exception: javax.xml.namespace.QName: method getPrefix()Ljava/lang/String; not found

If noone know the reason of this error, can someone give me a sample how to call an xml report from a jsp page using Java Reporting Component?
And what jar i have to include in my webinf/lib folder?

I followed the steps in crystal documentation but it doesn't work!

can anyone help me?
Thanks in advance

kobiav
March 13th, 2006, 08:21 PM
I dont know how, but I am new to Crystal and wanted to ask, when using the Java sdk to view the report do I need something else besdies the jars? Can I use it on Linux?

Can I pass parameters to the report?

polli
March 19th, 2007, 08:11 AM
Im just trying the same and get the same Errormessage. The only difference is, we are developing with Lotus Notes.
I contacted the Crystal Support but Notes isn't a supported Platform. So we used Eclipse and CR 11R2 to reproduce the error. But we had no success, with Eclipse as thick client it works fine.

I read in other forums that the newest jars are implemented in Crystal Reports for Eclipse, so I tried these libraries in Eclipse and in Notes.
The Result was the same.

The problem may be that the class QName is in 2 libraries. In the jaxrpc.jar it is without the member getPrefix() and in the xbean.jar getPrefix() is available.

Because Im a Java Newbee I have no idea how to fix such a problem.

Im truly grateful for any idea.