Importing a Gradle Project (libGDX) in Eclipse Photon - eclipse

nothing I have found so far helped me. I am trying to Import a Gradle Project (libGDX Project to be exact) into Eclipse Photon but the only thing I get is the following :
On my other Notebook everything worked fine. On this one here I have JDK 8 installed. Does anyone know what's going on ?

Before I tell you what I think is wrong, have a good look at the error message. Eclipse is basically telling you it tried to find something, in this case a plugin, and couldn't.
As the error message says, you need to install the gradle gwt plugin in order to import gradle projects. To do this, open up the plugin market place, search for "gradle gwt", (in general) download the most popular one, and follow the installation process.
I hope this answer helped you! If you have any other questions about this answer, feel free to leave a message below.

Related

The import org.apache.commons.net cannot be resolved - Eclipse Juno

Good morning:
I have a terrible problem with my Eclipse Juno.
Due to I had to format my computer, I lost the configuration of my Eclipse Juno.
I am trying to work again with my new Eclipse Juno configured, but I think something is missing.
My problem is, I import a Java Project that HAS NO ERROR some weeks ago, and I am 100 % sure about that.
Now, the project has errors like:
**The import javax.mail cannot be resolver
The import org.apache.commons.net cannot be resolved
TimeStamp cannot be resolver to a type
**
Of course, I tried all.
I cleaned the project.
I tried to remove and add again all the libraries I got in the java build path.
I tried to switch from jre6 to jre7.
I tried to change the Target Platform...
Nothing worked!! I am desperate!
Can anyone help me?
PS: I have the tomcat 5.5 installed in Eclipse Juno also.
Thank you.
Calm yourself. The problem is simply that your project need some additional libraries to be compiled. By the errors you showed, you need at least these:
javamail.jar
commons-net.jar
They are both open source libraries and you will find them with a bit of googling.
Why before formatting everything worked fine, and now it doesn't anymore? Surely you had these libraries in some other place outside your project. For example, within the bundled libraries of Tomcat.

Unable to install PMD in Spring tool suite

I am unable to install PMD plug-in for STS (build on top of Luna).
Could someone please give the steps to do it?
Try this http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/ and install for Eclipse 4.
I'm the developer of eclipse-pmd, one of the two PMD plugins you mentioned in your question. If your installing the plugin through the Eclipse Marketplace then you're doing everything right. Once the installation is finished the getting started guide will help you with setting up eclipse-pmd.
You are, however, not the first who has a problem getting eclipse-pmd 1.4 to work with the Spring Tool Suite. Unfortunately we have not yet found the cause of the problem and are still looking for a solution. If you'd like to help or would like to follow the issue's progress then head over to the eclipse-pmd issue tracker at Github.
Update: the issue has been fixed and it had nothing to do with STS.
If your problem is something different then I need more information on what exactly does not work, e.g. does the installation give you an error message or doesthe installation work and you get an error message when running PMD?
Please follow below steps to install PMD in STS.
Download PMD from https://sourceforge.net/projects/pmd-eclipse/files/ & Extract it.
Copy net.sourceforge.pmd.eclipse_1.8.0 folder into ..\sts-bundle\sts-3.9.6.RELEASE\plugins\
then Install eclipse PMD from Eclipse Market Place you will find in Help this option.
Restart your STS.

Eclipse says 'Class not found' even though the classes are available

In Eclipse UI, I got the following problem,
If you see left side, the classes are available. I am able to build using Maven and run it successfully. But this Eclipse error highlighting is really annoying.
I am using Eclipse Indigo SR2 and installed Spring Tool Suite. Please help me on fixing this issue. Thanks.
try importing com.beatle.model.* and see what happens

Can't install a Grails plugin

I'm trying to install the ws-client plugin for grails. When I run grails install-plugin ws-client, however, it gets to
Resolving plugin ws-client. Please wait...
and then it just appears to complete with no further information. I've tried deleting the plugin in the application.properties file (it is appearing there) but it doesn't help.
I know the plugin wasn't successfully installed either because I get an error when trying to import the ws-client.
Unable to resolve class groovyx.net.ws.WSClient
Does anyone know why it's not properly installing?
Thanks!
Update: When I run grails list-plugins -installed ws-client DOES show up, so perhaps it is being installed? But if so, why would the import statement be throwing the resolve error?
Update: It was definitely a problem with the installation. I don't know what the problem was, but I have managed to work around it. Posting an answer with the process.
Well I can't post an answer to myself because I need 100 Rep to answer myself in under 8 hours, and I of course only have 99... :)
The answer wound up being to right click "plugins" under the project in STS' Project Explorer window and manually locating the ws-client plugin and marking for installation. I'll post this as an actual answer in 5 hours.
So for some reason using the
grails install-plugin ws-client
command wasn't working correctly. I ran it from both the command line and STS's built in terminal. Both gave me the problem of it not completing installation, but not giving an error either.
Anyway, I finally managed to get the plugin installed by right clicking on "plugins" under my project in the STS Project Explorer window. From there you can open "Grails Plugin Manager" and search for ws-client. I selected it for installation and it wound up installing without a hitch.
Still don't know why I couldn't do it from regular command line, but this method worked and got it installed, so hopefully it helps someone else out in the future!
Another way that did work for me (I'm using STS) is to run grails install-plugin ws-client by accessing grails command-line through Ctrl+Alt+Shift+G (Cmd+Alt+Shift+G on Mac)
Also it helps to just "Refresh" the project after installing the plugin and rebuilding it (if you're Automatic Built is turned off)

eclipse plugins not visible

I have recently installed gwt-plugin to my eclipse. But plugins are are not visible, even if I try to install it again, eclipse is not allowing me to install, saying its already installed.I even I ran eclipse as administrator(I am using it in windows 7) and also with clean option, nothing worked out.
And one more thing, After GWT installation, it gave two options - 'Restart' and 'Apply changes'.I have chosen 'Restart'. (Does it matter?)
Any help is appreciated..
Maybe you installed gwt-plugin correctly, but you are missing one of its dependencies? Take a look at this thread. One of the answers discusses using the OSGI console to locate missing dependencies.