[go: up one dir, main page]

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
Member
PDE Gurus,

Session info:

eclipse.buildId=4.16.0.I20200604-0540
java.version=1.8.0_232
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

Problem:

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:
"org.eclipse.ant.internal.core.ant.InternalAntRunner".
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?

Rob

Here's the exception spew:

java.lang.ClassNotFoundException: org.eclipse.ant.internal.core.ant.InternalAntRunner
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at org.eclipse.ant.internal.core.AntClassLoader.findClass(AntClassLoader.java:53)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at org.eclipse.ant.core.AntRunner.getInternalAntRunner(AntRunner.java:399)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:319)
at org.eclipse.pde.internal.core.exports.FeatureExportOperation.runScript(FeatureExportOperation.java:468)
at org.eclipse.pde.internal.core.exports.FeatureExportOperation.doExport(FeatureExportOperation.java:305)
at org.eclipse.pde.internal.core.exports.FeatureBasedExportOperation.run(FeatureBasedExportOperation.java:62)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
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: Thu Dec 12 16:42:58 GMT 2024

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

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

Back to the top