Results 1 to 3 of 3
  1. #1
    Jack is offline Senior Member
    Join Date
    Jun 2007
    Posts
    130
    Rep Power
    0

    Default Can not instantiate class org.eclipse.birt.chart.reportitem.ChartReportItemG eneratio

    I'm trying to generate a html file from design .rptdesign
    When I try to execute RunAndRenderTask, this exception appears:
    Java Code:
    ATTENTION: Can not instantiate class org.eclipse.birt.chart.reportitem
    .ChartReportItemG enerationImpl with property class.
    org.eclipse.birt.core.framework.FrameworkException : 
    org.eclipse.core.runtime.CoreException: 
    Plug-in org.eclipse.birt.chart.reportitem was unable to load 
    class org.eclipse.birt.chart.reportitem.ChartReportItemG enerationImpl.
    at org.eclipse.birt.core.framework.eclipse.EclipseCon figurationElement.createExecutableExtension
    (Eclips eConfigurationElement.java:38)
    at org.eclipse.birt.report.engine.extension.internal. ExtensionManager.createObject
    (ExtensionManager.jav a:243)
    at org.eclipse.birt.report.engine.extension.internal. ExtensionManager.createGenerationItem
    (ExtensionMan ager.java:114)
    at org.eclipse.birt.report.engine.executor.ExtendedIt emExecutor.generateContent
    (ExtendedItemExecutor.ja va:119)
    at org.eclipse.birt.report.engine.executor.ExtendedIt emExecutor.execute
    (ExtendedItemExecutor.java:88)
    at org.eclipse.birt.report.engine.layout.html.HTMLPag eLM.layoutChildren
    (HTMLPageLM.java:123)
    at org.eclipse.birt.report.engine.layout.html.HTMLPag eLM.layout
    (HTMLPageLM.java:81)
    at org.eclipse.birt.report.engine.layout.html.HTMLRep ortLayoutEngine.layout
    (HTMLReportLayoutEngine.java :85)
    at org.eclipse.birt.report.engine.presentation.Report DocumentBuilder.build
    (ReportDocumentBuilder.java:1 43)
    at designToHTML.RunReport(designToHTML.java:119)
    at designToHTML.main(designToHTML.java:136)
    Caused by: org.eclipse.core.runtime.CoreException: Plug-in org.eclipse.birt.chart.reportitem was unable to load class org.eclipse.birt.chart.reportitem.ChartReportItemP resentationImpl.
    
    ... 17 more
    16 mai 2007 18:07:10 org.eclipse.birt.report.data.oda.sampledb.Sampledb Plugin removeDatabase
    ATTENTION: Failed to remove one or more file in temp db directory:
     C:\DOCUME~1\egomez\LOCALS~1\Temp\/BIRTSampleDB_1179331625047_19c5048
    any ideas?

    thank you
    Last edited by Jack; 06-30-2007 at 02:42 AM.

  2. #2
    Peter is offline Senior Member
    Join Date
    Jun 2007
    Posts
    119
    Rep Power
    0

    Default

    I had the same problem:
    You've erased the package "org.eclipse.birt.chart.reportitem_2.1.2.v2007 0205-1728" from the Java Build Path
    check it

  3. #3
    Ed
    Ed is offline Senior Member
    Join Date
    Jun 2007
    Posts
    110
    Rep Power
    0

Similar Threads

  1. How to instantiate Class, into jsp, java script
    By silvia in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 01-04-2014, 09:08 AM
  2. Setting up class path for Eclipse
    By tsantana in forum Eclipse
    Replies: 1
    Last Post: 04-07-2008, 08:05 PM
  3. .class fille needed from eclipse
    By perplexingtrax in forum New To Java
    Replies: 4
    Last Post: 03-27-2008, 06:36 PM
  4. Renaming a class in Eclipse
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-04-2007, 11:54 AM
  5. Replies: 0
    Last Post: 06-23-2007, 10:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •