Jump to content

vispi_3

Members
  • Posts

    9
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Posts posted by vispi_3

  1. hi

    I am developing a struts 2 web application with jboss portlets and i want to include jasperreports in it

    I had placed the .jrxml file in the project itself in the selfcare->webContent->reports->amount.jrxml and i m deploying my application by creating a war file.While specifying the location of the file name what should i specify it?

    JasperDesign jaspdes = JRXmlLoader.load("/selfcare/reports/amount.jrxml");
          jasperreport = JasperCompileManager.compileReport(jaspdes);

    I am getting the filenotfoundexception.

    can i use the portletcontextpath for specifying the location?

    Can any one please help me...

     

    Code:
    			 
  2. i am implementing jrxml file in jasperassistant eclipse plugin.

    I am getting the following exception.

     

    CompilationUnit.java:743)CompilationUnit.java:706)CompilationUnit.java:925)CompilationUnit.java:462)JRGroovyCompiler.java:84)JRAbstractCompiler.java:188)JasperCompileManager.java:215)integrate_report.java:44)integrate_report.java:67)

     

    at org.codehaus.groovy.control.CompilationUnit$10.call(

    at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(

    at org.codehaus.groovy.control.CompilationUnit.compile(

    at net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits(

    at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(

    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(

    at integrate_report.generate_report(

    at integrate_report.main(

    Can any one tell me the jars needed to include in my program.

    Exception in thread "main" java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V

    at org.codehaus.groovy.control.CompilationUnit.createClassVisitor(

  3. I am using ireports in java application.when i am compliling the jrxml file in jasper reports it was showing an exception

    Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/groovy/control/CompilationFailedException

    at java.lang.Class.forName0(

    at java.lang.Class.forName(Unknown Source)

    at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForRealName(

    at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForName(

    at net.sf.jasperreports.engine.JasperCompileManager.getCompiler(

    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(

    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(

    at integrate_report.generate_report(

    at integrate_report.main(

    Caused by:

    Native Method)JRClassLoader.java:157)JRClassLoader.java:115)JasperCompileManager.java:511)JasperCompileManager.java:215)JasperCompileManager.java:148)integrate_report.java:34)integrate_report.java:48)java.lang.ClassNotFoundException: org.codehaus.groovy.control.CompilationFailedException

    at java.net.URLClassLoader$1.run(Unknown Source)

    at java.security.AccessController.doPrivileged(

    at java.net.URLClassLoader.findClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

    ... 9 more

    Native Method)

    I am not using any groovy............ The jars used in my application are jasper-reports 3.7.2.jar, commons logging-1.0.4.jar, itext 2.1.7.jar, commons-beanutils-1.8.0.jar, commons collections 2.1.1.jar, commonc-collections-2.1.1.jar, common-digest -1.7.jar, ojdbc14.jar.  Do i need to use any more...............

  4. hi i have created a jrxml report in ireports 3.7.1. I want to include it in my web application. I have downloaded jasperreports-3.7.2-project.tar.

    Can u tell me how to proceed further ..?

    how should i start with jasper reports.

    is there any plugin for jasper reports in eclipse..?

×
×
  • Create New...