How to install old version of 'Vaadin Plug-in for Eclipse'? - eclipse

After I updated 'Vaadin Plug-in for Eclipse' from version 4.1.6 to version 4.1.7 (and Vaadin Designer from 4.6.18 to 4.6.20) something broke.
I started to get constant error when oppened Vaadin design (LitTamplate) java file:
An internal error occurred during: "Requesting Java AST from selection".
'boolean com.ibm.icu.text.UTF16.isSurrogate(char)'
This error does not happen when using Eclipse 2022-12 with Vaadin Plug-in 4.1.7 and Vaadin Designer 4.6.20.
But there is other issues there:
https://github.com/vaadin/designer/issues/2443
I was using Eclipse 2021-12 with 'Vaadin Plug-in for Eclipse' 4.1.6 and 'Vaadin Designer' 4.6.18 before update. Now I can not install old versions back into the Eclipse.
Vaadin plugin guide will always offer only the latest version.
https://vaadin.com/eclipse
It would be nice to have version links for installing older versions.
Something like this:
https://vaadin.com/eclipse/2021-12/plugin/4.1.6/designer/4.6.18

Related

Using graphql plugin in grails ends up with: java.lang.ClassNotFoundException: org.grails.compiler.web.converters.RenderConverterTrait

I try to make my 1st experience with graphql in the grails context.
I'm using:
jdk1.8.0_162
Eclipse Java EE IDE for Web Developers.
Version: Oxygen.2 Release (4.7.2)
Build id: 20171218-0600
OS: Linux, v.4.4.0-116-generic, x86_64 / gtk 3.18.9
Grails Version: 3.3.3
Groovy Version: 2.4.14
In build.gradle I entered the graphql-plugin via
compile "org.grails.plugins:gorm-graphql:1.0.3.BUILD-SNAPSHOT"
in the dependencies section. Starting grails ends up with build successful, run-up ends up in
java.lang.ClassNotFoundException: org.grails.compiler.web.converters.RenderConverterTrait
Any hints on Incompatibilities or missing entries in build.gradle?
Peter
Please change dependency from
compile "org.grails.plugins:gorm-graphql:1.0.3.BUILD-SNAPSHOT"
To
compile 'org.grails.plugins:converters:3.3.1'
OR
compile "org.grails.plugins:converters"
This is the Converters plugin that has been part of Grails core up until version 3.3 and now is a standalone plugin.
Users of Grails 3.3.x and above should use this plugin.
see plugin repository here
Hope this will helps you

m2e extension is not installing in Eclipse Luna

When I am installing the m2e extension, it is giving me below error:
I am using this url to download: http://download.eclipse.org/technology/m2e/releases
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse (includes Incubating components) 1.6.1.20150625-2338 (org.eclipse.m2e.feature.feature.group 1.6.1.20150625-2338)
Missing requirement: Maven Integration for Eclipse 1.6.0.20150526-2032 (org.eclipse.m2e.core 1.6.0.20150526-2032) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
Missing requirement: Maven Integration for Eclipse 1.6.1.20150625-2338 (org.eclipse.m2e.core 1.6.1.20150625-2338) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
Cannot satisfy dependency:
From: m2e Marketplace 1.6.1.20150625-2338 (org.eclipse.m2e.discovery 1.6.1.20150625-2338)
To: bundle org.eclipse.m2e.core [1.6.0,1.7.0)
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.6.1.20150625-2338 (org.eclipse.m2e.feature.feature.group 1.6.1.20150625-2338)
To: org.eclipse.m2e.discovery [1.6.1.20150625-2338]
Try to use below link:
http://download.eclipse.org/technology/m2e/releases/1.4
You might be using older version of eclipse and trying to install latest version of maven.
What worked for me when installing m2e 1.6.2 into Eclipse 4.2.2 (Luna SR2) was add the Orbit project Guava: Google Core Libraries for Java 15.0 bundle from the Orbit project into Eclipse before installing m2e.
(The install error I initially got said m2e 1.6.2 is looking for the Guava 14 bundle, which I could not locate in any of the recommended Orbit builds, but Guava 15 seems to be working just fine so far, and indeed the Guava 15 bundle is what the Luna SR2 Eclipse IDE for Java Developers uses.)
I used this URL for the Orbit build repository for Luna SR2: http://download.eclipse.org/tools/orbit/downloads/drops/R20150124073747/repository/
This specific link could be unstable over time, or maybe you are reading this because of issues with different versions of Eclipse or m2e, so in those cases it would be a good idea to check the Orbit downloads page to find the right Orbit build for to match your Eclipse release.
For those who are not old Eclipse hands, here is step by step what I did to install the Orbit Guava bundle into Eclipse 4.4.2:
From the Eclipse menu: Help > Install New Software...
Click on the Add button. In the resulting dialog, enter:
Name: Orbit Repository for Eclipse Luna SR2 (4.4.2)
Location: http://download.eclipse.org/tools/orbit/downloads/drops/R20150124073747/repository/
Click OK
Once this repository is added to your Eclipse configuration, the m2e feature installation process will be able to find and install the Guava bundle automatically.
The m2e installation may also want to update other packages, so it is a good idea to have the Eclipse Luna update site available prior to the m2e feature install:
Click the Add button again. In the resulting dialog, enter:
Name: Eclipse Update Site
Location: http://download.eclipse.org/eclipse/updates/4.4
Click OK
It's also worth noting that the m2e 1.6.x release line is included in Mars, while the 1.5.x is included in Luna, so that it might be a more conservative choice to use a 1.5 release rather than a 1.6 release.
I can give you a quick answer : Ignore the error.
Actually I'm not quite sure this is the right solution but at least for me it worked just fine. I'm sharing my case because it might help someone.
While I was installing m2e extension, I met the same error message you met. But I ignored the error and was able to continue installing. And then the installation have finished successfully.
Click and take a look at the image
: Install Remadiation Page
I saw the error when I clicked "show original error ... ". But I think it's OK to choose "Keep my installation ... " and click "Next" to continue

Eclipse : Errors occurred during the build Groovy/Grail Project

I have installed GGTS plugin for eclipse kepler 3.5.1 RELEASE. I created simple grail project. But while building project. Its getting error
Errors occurred during the build.
Errors running builder 'Java Builder' on project 'FirstApp'.
org.codehaus.groovy.runtime.StringGroovyMethods.plus(Ljava/lang/String;Ljava/lang/CharSequence;)Ljava/lang/String;
and if we saw in markers, I found this error
Internal compiler error: java.lang.NoSuchMethodError: org.codehaus.groovy.runtime.StringGroovyMethods.plus(Ljava/lang/String;Ljava/lang/CharSequence;)Ljava/lang/String; at
org.codehaus.groovy.grails.transaction.transform.TransactionalTransform.moveOriginalCodeToNewMethod(TransactionalTransform.groovy:259)
Config.groovy /FirstApp/grails-app/conf line 0 Java Problem
I am using feroda 17. Eclipse Kepler.
We were experiencing the same error today, it turned out that the project created by GGTS had a groovy compiler level of 2.3 but the GGTS plugin only supported up to groovy compiler level 2.1.
The fix was to install the "groovy 2.3 compiler for groovy-eclipse".
The compiler can be found under the "language and support tooling" heading in the extensions browser which is opened by clicking the "IDE extensions" button in the STS dashboard.
Although the compiler states that it will automatically become the default workspace compiler in eclipse this did not happen for us. In fact we needed to set it as the workspace default in "preferrences > groovy > compiler" and then restart eclipse (maybe I restarted twice, cant remember exactly).
we also ended up installing "groovy 2.3 compiler for groovy-eclipse" twice as the first time an eclipse IDE update was installed, I think because our kepler installation was a bit old.
Hope this helps.

e(fx)clipse 0.9.0 on Kepler with Java 7

is it possible to run the e(fx)clipse sample application on Kepler & Java7 at all ?
I took the steps, descripted in tutorial 4 to integrate the target definition(s)
https://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial4
I tried the all-in-one-eclipse as well as upgrading a common kepler-eclipse with update-site http://download.eclipse.org/efxclipse/updates-released/0.9.0/site
However, the Sample Project JavaFX/Samples/e4 Media Application can not be compiled.
With Target Definition "RCP 3x Platform", all! application dependencies can not be resolved
With Target Definition "Target Platform Feature" a warning comes up, that the target version is newer than my current Eclipse installation. There are no comile errors anymore, but running the app I will get a lot of runtime errors like:
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.8))"
Did anybody get the sample "e4 Media Application" working ?
My Eclipse: Kepler Service Release 2
My Java: JDK 7u40
============== EDIT ==============
Got it working, thanks to Tom!
Install fresh new Eclipse: http:// www.eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/keplersr2
Install Xtext 2.5.0, Update-Site: http:// download.eclipse.org/modeling/tmf/xtext/updates/composite/releases
Install e(fx)clipse, Update-Site: http:// download.eclipse.org/efxclipse/updates-released/0.9.0/site
Add new Target Platform, Update-Site: http:// download.eclipse.org/efxclipse/runtime-released/0.9.0/site
Select FX Target -> Target Platform Feature
The nightly runtime site already requires Java8 (see announcement on e(fx)clipse newsrpoup!)
If you want to run it on Java7 you need to use http://download.eclipse.org/efxclipse/runtime-released/0.9.0/Site for the target platform

Eclipse doesn't show java source code

I'm running java 1.6 in Eclipse on my Intel Mac. I'm using the 1.6.0 version under System/Library/Frameworks and set the default compiler to this in Eclipse.
How do I attach the source code?
First, I downloaded the 1.6 source from oracle, thinking I could attach that 'cause the installed 1.6 didn't have source.
When I click a java class to get the Source Code Editor, there are problems:
first, the top line says Compiled from File.java (version 1.5 : 49.0, super bit)
most important, when I attach the 1.6 source jar file, it gets an error:
An error has occurred. See error log for more details.
Unable to create resource org.eclipse.ui.internal.misc.ExternalProgramImageDescriptor#50417ba8
This also appears in the error log:
java.lang.ClassNotFoundException: org.eclipse.ui.internal.views.log.LogView
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
The Eclipse version is: Eclipse Java EE IDE for Web Developers.
Version: Helios Service Release 2
Build id: 20110218-0911
When I click for installation details, I get:
An internal error occurred during: "Fetching children of _SELF_".
Registry Directory not available: /Users/rfrail/Downloads/eclipse 2/p2/org.eclipse.equinox.p2.engine/profileRegistry.
I'm running Eclipse from my Download directory (it's worked fine in the past); however, there are 2 folders for Eclipse:
eclipse, and
eclipse 2.
So that looks like a source of confusion right there. Eclipse operates fine otherwise.
Can you help, please?
http://java.decompiler.free.fr/ is your answer
it has an eclipse plugin which decompiles code in place