Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » BIRT classpath issue when publishing report
BIRT classpath issue when publishing report [message #117727] Fri, 09 November 2007 12:27 Go to next message
Eclipse UserFriend
Originally posted by: viviane.costa.gmail.com

Hello,

I am getting the exception below while trying to execute a script to
execute and publish my tptp test.

[tptp:publication] java.lang.NoClassDefFoundError:
org/eclipse/birt/report/model/api/IResourceLocator
[tptp:publication] at java.lang.ClassLoader.defineClass1(Native Method)
[tptp:publication] at
java.lang.ClassLoader.defineClass(ClassLoader.java:620)
[tptp:publication] at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(DefaultClassLoader.java:161)
[tptp:publication] at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(ClasspathManager.java:501)
[tptp:publication] at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(ClasspathManager.java:471)
[tptp:publication] at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(ClasspathManager.java:430)
[tptp:publication] at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:413)
[tptp:publication] at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
[tptp:publication] at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
[tptp:publication] at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:408)
[tptp:publication] at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
[tptp:publication] at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
[tptp:publication] at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
[tptp:publication] at
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
[tptp:publication] at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
[tptp:publication] at
org.eclipse.tptp.platform.report.birt.core.internal.impl.Rep ortElementExtensionRegistryReader.createReportElement(Report ElementExtensionRegistryReader.java:126)
[tptp:publication] at
org.eclipse.tptp.test.report.birt.services.TestSuitesTabular PublicationService.publish(TestSuitesTabularPublicationServi ce.java:65)
[tptp:publication] at
org.eclipse.hyades.test.core.services.AbstractTestResultsPub licationService.execute(AbstractTestResultsPublicationServic e.java:10

That's my configuration:

org.eclipse.tptp.test (4.3.100.v200707090100)
org.eclipse.tptp.test.report.birt (4.3.100.v200707090100)
org.eclipse.birt (2.2.1.v20070709)
org.eclipse.sdk (3.3.0.v20070607)

Did I miss any step? Do I need to set classpath to publish a report?

Any help is appreciated.

Thanks,
Viviane
Re: BIRT classpath issue when publishing report [message #120300 is a reply to message #117727] Tue, 08 January 2008 19:53 Go to previous message
DuWayne Morris is currently offline DuWayne MorrisFriend
Messages: 36
Registered: July 2009
Member
Hi,

I apologize for the delayed response.

The classpath error naturally makes me think something is wrong with the
install. A couple of initial suggestions:

Make sure you are able to generate reports from the IDE. If you are
unable to do this, I would re-install clean and use a fresh workspace.
Verify that when running ant, you are picking up a 1.5 JRE when running
your script and using ant 1.7. Make sure the latest ant-tptp.jar is in
your ant lib directory of your ant install.

Let me know if this resolves the issue.

Thanks,
DuWayne
Previous Topic:[asf] query test result and generate report from ant
Next Topic:NullPointerException at doubleClick
Goto Forum:
  


Current Time: Tue Mar 19 08:31:32 GMT 2024

Powered by FUDForum. Page generated in 0.02055 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top