Jump to content

graderzhy

Members
  • Posts

    16
  • 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 graderzhy

  1. I have created a XY bar chart, but the lable is out of the range, only part of it shows up, I mean i can only see part of the lable for the biggest value item.I am not sure if this is bug or there is some way to configure it.

     

    Please advice.

     

    Thanks

    Post edited by: graderzhy, at: 2006/09/08 16:41

  2. By the way this is my archive jar list of my applet which is related to report

     

    <applet archive="./jar/report/jasperreports-1.2.6.jar,./jar/report/commons-javaflow-20060411.jar,./jar/report/groovy-all-1.0-beta-10.jar,./jar/report/jakarta-bcel-20050813.jar,./jar/report/jrpl.jar,./jar/report/xml-apis.jar,./jar/report/commons-beanutils-1.5.jar,./jar/report/commons-collections-2.1.jar,./jar/report/commons-digester-1.7.jar,./jar/report/hsqldb-1.7.1.jar,./jar/report/itext-1.3.1.jar,./jar/report/jcommon-1.0.0.jar,./jar/report/jdt-compiler-3.1.1.jar,./jar/report/jfreechart-1.0.0.jar,./jar/report/poi-2.0-final-20040126.jar,./jar/report/servlet.jar,./jar/report/xalan.jar,./jar/report/xercesImpl.jar,./jar/report/ant-1.5.1.jar,./jar/report/jasperreports-1.2.6-applet.jar,

    ......

  3. Then I have to put jasperreport.jar file in the ext subdirectory of java_home/jre/lib/

     

    But doing this is is not a solution for applet. Since the only way to put jar files for applet is by ac=rhive list.

     

     

     

    what confuse me here is that I have jasper1.2.6 jar in the archive list and I can see it downloaded to the local. But for some reason it can not be found by the jasper enginee.

     

    I know we can supply a class path to jaser by :

     

    System.setProperty("jasper.reports.compile.class.path",compile_path);

     

    But if it is applet, then how it works?

     

    Any help or suggestion will be apprecaited.

     

    Thanks:( :(

     

    Post edited by: graderzhy, at: 2006/09/05 22:43

    Post edited by: graderzhy, at: 2006/09/05 22:49

  4. If I add following code :

     

     

    Code:
    JRProperties.setProperty(JRProperties.COMPILER_CLASS,"net.sf.jasperreports.engine.design.JRJavacCompiler"«»);

     

    The java.lang.Object issue is gone, but it will throw out following error:

     

    net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:

    C:Program FilesMozilla FirefoxAccRollupReportTemplateV1_1157473502610_148891.java:4: package net.sf.jasperreports.engine does not exist

    import net.sf.jasperreports.engine.*;

    ^

    C:Program FilesMozilla FirefoxAccRollupReportTemplateV1_1157473502610_148891.java:5: package net.sf.jasperreports.engine.fill does not exist

    import net.sf.jasperreports.engine.fill.*;

    ^

    C:Program FilesMozilla FirefoxAccRollupReportTemplateV1_1157473502610_148891.java:14: package net.sf.jasperreports.engine does not exist

    import net.sf.jasperreports.engine.*;

    ^

    C:Program FilesMozilla FirefoxAccRollupReportTemplateV1_1157473502610_148891.java:15: package net.sf.jasperreports.engine.data does not exist

    import net.sf.jasperreports.engine.data.*;

    ^

    C:Program FilesMozilla FirefoxAccRollupReportTemplateV1_1157473502610_148891.java:21: cannot find symbol

    symbol: class JREvaluator

    public class AccRollupReportTemplateV1_1157473502610_148891 extends JREvaluator

    ^

    ...... ^

    C:Program FilesMozilla FirefoxAccRollupReportTemplateV1_1157473502610_148891.java:160: cannot find symbol

    symbol : class JRFillVariable

    location: class AccRollupReportTemplateV1_1157473502610_148891

    variable_positionPRTTotal = (JRFillVariable)vm.get("positionPRTTotal");

    ^

    100 errors

     

    at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:193)

    at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105)

    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)

    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:197)

    a

    Post edited by: graderzhy, at: 2006/09/05 17:04

  5. :P

     

    Post edited by: graderzhy, at: 2006/09/05 15:57

     

    By the way, I am using jasper 1.2.5 or 1.2.6, I am assuming it will be OK since 1.2.4 already fixed that issue.

     

    But the problem is still there.

     

    net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:

    1. The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files

    /*

    ^

    1 errors

     

    at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:193)

    at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105)

    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)

    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:197)

     

     

    :( :(

    Post edited by: graderzhy, at: 2006/09/05 16:12

  6. Thanks for reply.

     

    I do have jdt-compiler-3.1.1.jar under class path.

     

    The problem is that if my application run as stand application , it is working fine.

     

    If run as applet, all other part is working fine, only this issue.

     

    I already put all my jar files in archive list.

     

    Also If I add this line in my code:

     

    JRProperties.setProperty(JRProperties.COMPILER_CLASS,"net.sf.jasperreports.engine.design.JRJavacCompiler");

     

    It will complain "net.sf.jasperreports.engine.*" can not find.

     

    Again, if unintall my jvm1.5, and use jvm1.4, it is working fine.

     

    Any other suggestion?

     

    Thanks

  7. I have same issue , It is working fine when I am using 1.4, now i changed to 1.5, and it give me following error:

     

    net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:

    1. The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files

    /*

    ^

    1 errors

     

    at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:193)

    at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:131)

    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)

    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:197)

    ==================

     

    Any suggestions?

     

     

    Thanks:(

  8. More detailed error information:

     

    network: Connecting socket://192.168.101.45:1496 with proxy=DIRECT

    network: Connecting http://localhost:8180/myApp/java.class with proxy=DIRECT

    net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:

    1. The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files

    /*

    ^

    1 errors

     

    at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:193)

    at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:131)

    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)

    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:197)

  9. I am using jasper report engin, my program works fine as the appplication, but if I put it as an applet then it throw out this exception. by the way, I am using Tomcat5.5.17

     

    net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:

    The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files

    /*

    ^

    1 errors

     

    I added rt.jar in the archive list of applet, it does not work.

     

    Any other suggestion?

     

    Thanks

×
×
  • Create New...