New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.SecurityException: class "org.eclipse.core.runtime.OperationCanceledException"'s signer information does not match signer information of other classes in the same package #1231
Comments
This is on the back of this forum post. |
this affects @kthoms do you know if new platform maven stuff is already out? here is a minimal reproducing java project showing the problem (java main) |
/home/dietrich/.m2/repository/org/eclipse/platform/org.eclipse.core.runtime/3.14.0/org.eclipse.core.runtime-3.14.0.jar http://search.maven.org/#artifactdetails%7Corg.eclipse.platform%7Corg.eclipse.equinox.common%7C3.10.0%7Cjar => the org.eclipse.equinox.common is too old. needs to by analyzed why that one is used |
=> maybe the publishing of platform to maven central happens right now and the new version is not yet visible? |
@szarnekow do you have any idea why the plugin does not pick the newer equinox version but the new core.runtime version? |
workaround
alternatively you can pin the jdt version of your xtext release e.g.
|
@karypid can you please give the workaround a try |
from jdt.core
@stephan-herrmann is there a reason jdt does specify this dependency but not one to equinox.common |
from core.runtime
=> the minimal version seems bogus |
Yes, at least this: the dependency pre-dates the creation of equinox.common :) |
but for split packages this wont work right? |
Photon versions of Platform, JDT, and PDE have been released to Maven central today. |
yes but thr ranges allow to use core.runtime 2.12 with equinox.common 2.8 which will does not fit together |
Hello! Just confirming that the workaround above works fine for me. |
more minimal example |
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
created workaround for xtext build. |
Thanks! |
[eclipse/xtext#1231] added workaround
[eclipse/xtext#1231] added workaround
you can do a gradle scan |
and the question would be which core.runtime version appears. |
is this in the tests? |
No this is just a client project, with a main class, which calls the StandaloneSetup, it also happens in the tests as well |
I will check the build scan out |
Fixed the issue after analysing the build scan, was caused by an older eclipse.core.resources jar dependency which did not have anything to do with xtend (it was an explicit dependency in build.gradle) |
thanks for the tip @cdietrich |
we now have the bom. this will prevent this issue from occurring again |
Workaround for issue eclipse/xtext#1231
…compatibilities
Using xtext 2.14 and Eclipse Oxygen.
Running "mvn install" from projects the xtext wizards creates fails with a security error:
To reproduce, just create a new xtext project using the wizard and all-defaults EXCEP for the preferred build system option which should be set to maven.
The text was updated successfully, but these errors were encountered: