-
Notifications
You must be signed in to change notification settings - Fork 194
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
Eclipse 2021-03 (4.19) won't start after installing https://dist.springsource.org/snapshot/GRECLIPSE/e4.19 #1237
Comments
I'm also seeing this issue. Clean install of eclipse works fine. As soon as I install Groovy Development Tools from the Eclipse Marketplace and restart Eclipse, I get the same issue |
The compiler version switcher seems to have run into a new conflict. One thing you can do is remove the logback bundle: #981 (comment) |
Thanks for the suggestion. You have to remove the logback bundle immediately after installation, before you restart Eclipse. Otherwise, you just get a popup dialog stating "An error has occurred. See the log file {workspace.dir}/.metadata/.log." on start up and can't get back into Eclipse. |
|
When you say "fresh install", what package did you start with? Starting from Platform Runtime Binary, I can add
plus Groovy Development Tools and Groovy Compiler 4.0. Starts fine. Switches to Groovy Compiler 2.5 fine. |
If you use Oracle JDK, does it do the same thing? |
Yes, I use Oracle JDK. |
Windows 10 jdk: For me, I'm:
|
It is the plugin bundle |
Does work for me,thank you |
I'm seeing this same issue. With a fresh install using the of Eclipse 2021-03 "Eclipse IDE for Java Developers" using the Eclipes Installer, it works. But with "Eclipse IDE for Enterprise Java and Web Developers" it fails. |
Same issue here.
I don't even have that file after a fresh Eclipse installation with the Oomph installer (Eclipse for Enterprise Java and web Developers) + installing the Groovy plugin from the marketplace. |
Ah, found it. In my case, it was under Thanks for the tip! |
@sinhote You can uninstall the feature "m2e - slf4j over logback logging" instead of removing jars from your bundle pool directory. |
@eric-milles Sorry if I sound too blunt, but I think you are not reading when we say "Eclipse won't start". How are we supposed to uninstall features if we cannot even start the program? |
An alternative to get Eclipse to start so you can uninstall the feature would be to set the starting Groovy Compiler version under |
I think this should be documented somewhere. The plugin was really difficult to install, until I found this. By selecting the settings in @eric-milles screenshot, it finally worked. Here: https://marketplace.eclipse.org/content/groovy-development-tools some other user seems to have the same problem. |
Is the optional import |
It is possible to keep the The It may be possible to implement the m2e console with something other than logback. That would be a change in m2e, not groovy-eclipse. Whatever the change was between 4.18 and 4.19 in the bundle classloader could be investigated and mitigated. I got a change in for "invalid registry object" and it was quite an effort to get buy in from core eclipse developers. So I am happy to be able to put this issue aside again with the logback restriction during installation. |
I use Oomph for setting up a custom Eclipse distribution. Which feature should I use to prevent the conflict in case I make sure to install only one compiler? To me it seems that plugin https://github.com/groovy/groovy-eclipse/blob/master/base/org.codehaus.groovy.eclipse.compilerResolver/META-INF/p2.inf defines the incompatibility with logback classic but it seems it is included in the necessary features... |
I'm not sure how Oomph deals with this kind of conflict. You may need to make some inquiries over there. As you noted, what we have done here is indicate the incompatibility with the And if you could get the m2e group to support the console you referenced without |
Update: this bundle is currently imported by a core bundle. It would need to be decoupled before it can be made optional. |
New installation of Eclipse 2021-03 (4.19) into new directory, using new workspace directory under Windows 10 with AdoptOpenJDK 11.0.8.
Started normally after clean install, but after installing latest snapshot for GRECLIPSE for 4.19, each startup fails and eclipse display a popup dialog:
An error has occurred. See the log file {workspace.dir}/.metadata/.log.
Tried starting eclipse with "-clean", but same outcome.
Log file attached.
log.txt
The text was updated successfully, but these errors were encountered: