Jump to content
We've recently updated our Privacy Statement, available here ×

mmutleab

Members
  • Posts

    25
  • Joined

  • Last visited

mmutleab's Achievements

Explorer

Explorer (4/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. {XML_DATA_DOCUMENT=[#document: null]}. Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/xpath/CachedXPathAPI at net.sf.jasperreports.engine.util.xml.XalanXPathExecuter.(XalanXPathExecuter.java:49) at net.sf.jasperreports.engine.util.xml.XalanXPathExecuterFactory.getXPathExecuter(XalanXPathExecuterFactory.java:43) at net.sf.jasperreports.engine.util.xml.JRXPathExecuterUtils.getXPathExecuter(JRXPathExecuterUtils.java:89) at net.sf.jasperreports.engine.data.JRXmlDataSource.(JRXmlDataSource.java:189) this is the eroor i get trying to run the code above
  2. Hi , im trying to get report generated from the xml datasource. i attached the xml and the jrxml. below ids the error i get please help!!!!!!! Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/xpath/CachedXPathAPI at net.sf.jasperreports.engine.util.xml.XalanXPathExecuter.<init>(XalanXPathExecuter.java:49) at net.sf.jasperreports.engine.util.xml.XalanXPathExecuterFactory.getXPathExecuter(XalanXPathExecuterFactory.java:43) at net.sf.jasperreports.engine.util.xml.JRXPathExecuterUtils.getXPathExecuter(JRXPathExecuterUtils.java:89) at net.sf.jasperreports.engine.data.JRXmlDataSource.<init>(JRXmlDataSource.java:189) Code: public void InvoiceReportPool() { try { Map params = new HashMap(); Document document = JRXmlUtils.parse(new File("c:/Fica/poolInvoice.xml")); JRXmlDataSource jrds = new JRXmlDataSource(document,"/fica_api/pool_entry"); params.put(JRXPathQueryExecuterFactory.PARAMETER_XML_DATA_DOCUMENT, document); params.put(JRXPathQueryExecuterFactory.XML_DATE_PATTERN, "yyyy-MM-dd"); params.put(JRXPathQueryExecuterFactory.XML_NUMBER_PATTERN, "#,##0.##"); params.put(JRXPathQueryExecuterFactory.XML_LOCALE, Locale.ENGLISH); params.put(JRParameter.REPORT_LOCALE, Locale.ENGLISH); JasperDesign jasperDesign = JRXmlLoader.load("c:/Fica/Fica_poolinvoice.jrxml"); JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign); JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, params, jrds); JasperExportManager.exportReportToPdfFile(jasperPrint, "c:/Fica/Fica_poolinvoice.pdf"); } catch (JRException ex) { Logger.getLogger(GenerateInvoice.class.getName()).log(Level.SEVERE, null, ex); } }
  3. can u be more specific....... what r you using to get it on the browser?
  4. user name and password of your cube database i cant get this. any hint..... i tried that n it gives me: database - null(oracle)
  5. workbench need a schema..... how do 1 get dat(oracle) im stacked ur help will be appriciated.... thanksin advance
  6. do 1 need to have a datawarehouse in place...... or is there a way that workbench will create a schema from a rdbms. im connection to oracle workbench gives me Database- null(oracle)
  7. how do i connect workbenck to oracle.......
  8. if u have the name as a field u can put it on the title,or pass that as a parameter.
  9. mmutleab

    jrxml

    hallo where in the directory does the reports get saved?
  10. hi look at your jasperserver user guide under docs. or download the jasperserver documentation. there are examples there
  11. hi im trying to connect to jasperserver using jasperserver plugin on ireport. it gives an error message (500)internal error help please. :ohmy:
  12. i meant if you were to move between different machines
  13. War files? how do i do that cos there is no war file there(or how do i find the file). if i do that will all the reports go with the war file?
×
×
  • Create New...