rydenx Posted April 30, 2010 Share Posted April 30, 2010 Hi All, i got an error while running this portion of my code.CODEString url = "http://localhost/testing.jsp";String query = "home\funiture";JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, new net.sf.jasperreports.engine.data.JRXmlDataSource(url, query));ERRORnet.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRException: No query executer factory class registered for xpath2 queries.net.sf.jasperreports.engine.JRException: net.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRException: No query executer factory class registered for xpath2 queries. I search through the forum but still could not understand how to add in the xpath2 query executer factory class.I added the jasper-extention jar into my project already and it does not help.Anyone who has solved this issue can gimme a hand.?? Link to comment Share on other sites More sharing options...
rydenx Posted May 4, 2010 Author Share Posted May 4, 2010 Hi all again,I finally got it working but i can only use datadource with reference to C:\ and it must be a xml file.How do i do it for if i want to reference from http://? Could not get it working with .xml or .jsp extention.The error i had was error parsing xml file. 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