Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Ant ClassNotFoundException While Exporting A Plug-In
Ant ClassNotFoundException While Exporting A Plug-In [message #1831742] Thu, 27 August 2020 21:03
Rob Hatcherson is currently offline Rob HatchersonFriend
Messages: 33
Registered: July 2009
Location: Fort Worth, TX, USA
PDE Gurus,

Session info:

java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.rcp.product -showlocation main
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.rcp.product -clean -showlocation main -data workspace.plugin

OS Info:

CentOS 7 - 3.10.0-1062.9.1.el7.x86_64


I've been making some changes to our local Eclipse plugin recently, and exporting it via File->Export...->Plug-in Development->Deployable plugins and fragments.

This mechanism works a few times, but usually within three or so exports I'll start getting a panel that says:

'Export Plug-ins' has encountered a problem.
Could not find one or more classes:
Please check the Ant classpath.

Once this starts happening then the export doesn't work again until I restart Eclipse.

The error log shows the exception at the bottom of this message.

Any clue what might be causing this?


Here's the exception spew:

java.lang.ClassNotFoundException: org.eclipse.ant.internal.core.ant.InternalAntRunner
at org.eclipse.ant.internal.core.AntClassLoader.findClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at org.eclipse.ant.core.AntRunner.getInternalAntRunner(
at org.eclipse.pde.internal.core.exports.FeatureExportOperation.runScript(
at org.eclipse.pde.internal.core.exports.FeatureExportOperation.doExport(
Previous Topic:PDE Build vs. Maven + Tycho
Next Topic:Eclipse product export fails if plug-ins have different EEs and "Generate p2 repository" s
Goto Forum:

Current Time: Wed Jun 16 15:23:27 GMT 2021

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

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

Back to the top