IProgressMonitor accessible from more one module [message #1821804] |
Thu, 20 February 2020 11:57  |
Eclipse User |
|
|
|
Description of the error :
at the line org.eclipse.core.runtime.IProgressMonitor,
there is a Red Icon with the folIowing message :
ProgressMonitor accessible from more one module :
org.eclipse.core.contenttypes, org.eclipse.core.jobs,
org.eclipse.core.runtime, org.eclipse.equinox.common,
org.eclipse.equinox.preferences,
org.eclispe.equinox.registry, org.eclispe.osgi.
In the "Required Plug-ins" of the "Dependencies" of the MANIFEST,
the list of plug-ins are:
org.eclipse.core.runtime
org.eclise.core.resources
org.eclipse.swt
org.eclipse.swt.win32.win32
org.eclipse.osgi
org.eclipse.jface
I used the following Developpment Environment :
the Eclipse package is : eclipse-committers-2020-03-M2-win32-x86_64
the Java package is : jdk-13.0.1_windows-x64_bin.
Below is the project source and MANIFEST files
This error shows up also in the example org.eclipse.ui.examples.multipageeditor of the Tutorial.
|
|
|
|
Re: IProgressMonitor accessible from more one module [message #1821824 is a reply to message #1821816] |
Thu, 20 February 2020 15:59   |
Eclipse User |
|
|
|
I didn't see a module-info.java in his zip, but I wonder about the impact of this in the MANIFEST.MF
Bundle-RequiredExecutionEnvironment: JavaSE-1.10
I tried using the wizard to create this sample view plug-in project with such a BREE but didn't see such compile errors, which are clearly related to treating plugins as if they are modules...
|
|
|
|
Powered by
FUDForum. Page generated in 0.04688 seconds