Eclipse does not recognize Apache library using Groovy plugin - eclipse

Look at the picture, I have already added libraries to Buildpath, but Eclipse does not recognize an Apache class. How can I make eclipse recognize new jars using Groovy plugin from codehaus?

Looks like a typical eclipse failure.
Project -> Clean will fix it.

Related

Plug-in org.eclipse.jdt.ui was unable to load class org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart. Kotlin Plugin not working in Eclipse

I'm using eclipse and trying to add a kotlin plugin after installing them in the marketplace. But it seems it's not working even I followed a simple tutorial that it should work (https://www.kotlintutorialblog.com/run-kotlin-program-eclipse-ide/). I'm stuck in step 4 and 5. I need to know why this has happened. My eclipse is portable. I put it in my external driver instead of in the Program Files.
https://i.imgur.com/IdRZ9Sa.png
My Eclipse version: 2021-03 (4.19.0)
Kotlin Plugin: 0.8.21
I want the kotlin plugin to work in eclipse that's all I wanted, thank you.

How can I use this javafx library?

I am trying to design gui on java.
I will use this javafx library https://github.com/HanSolo/Medusa
I downloaded this lib but how can I used it?
I added external jar on my javafx project but I can not make any sample code work.
I'm working with eclipse neon and java 8. By the way I set up javafx. It is okay.
Do I need anything else for using this library?
I have gradle and maven plug-in my eclipse IDE.
Don't directly download this file, use something like maven or gradle for this:
If you scroll down on this page: https://bintray.com/hansolo/Medusa/Medusa you will find the copy-paste parts.
There even is an example-project using that lib: https://github.com/HanSolo/medusademo

AEM error on real time

Is there a way to configure AEM into an IDE like IntelliJ,Eclipse...
So that the IDE shows the errors on my project before I compile it even if I put it outside the source folder like for example the components created.
If possible both the .java and .jsp
I'm not entirely sure what you mean by outside the source folder, but have you taken a look at adobe's documentation?
They have instructions for IntelliJ + AEM with Maven. It also instruct on jsp support as well. It's for 5.6.1 but it should be valid for 6.x as well.
https://docs.adobe.com/docs/en/cq/5-6-1/developing/developmenttools/howto-develop-aem-projects-with-intellij.html
Here's one for Eclipse
https://helpx.adobe.com/experience-manager/using/creating-aem-project-using-eclipse.html
They also have a more generic set of instruction
https://docs.adobe.com/docs/en/cq/5-6-1/developing/developmenttools/how-to-build-aem-projects-using-apache-maven.html#How-To%20Work%20with%20JSPs
Yes, you can maintain CRX data(AEM folders like /etc, /apps, /content, etc) in an IDE like eclipse. This will help you iron out all the compilation errors using features of IDE. Make use of this eclipse plugin called vaultclipse. You can install it from eclipse marketplace.
There is also another plugin called AEM plugin, details on how to use it here.

How do I mavenize a JSF 2.0 project in eclipse?

I have a JSF 2.0 project on my eclipse. I would like to mavenize the same preferably from Eclipse itself. I tried doing it from outside the eclipse manually. There are quite a few steps and I don't like the manual nature of that approach. Could someone help?
Make sure that you have the standard folder structure as recommended by Maven for web projects. Follow this link.
Now, install maven plugin in eclipse (am not sure if it is available by default or we have to download it manually). Simply right click on the project, select Configure and Convert to Maven Project. This should automatically do all that steps to takes to mavenize your current project. This will create a pom.xml file and you can modify it going forward as per your requirements. By the way, I use Eclipse Juno.

Groovy + Eclipse

I have a simple question regarding groovy with eclipse. I downloaded the plugin as mentioned and i didnt have problems with installations but i have compiler errors in hello p. the problem in my opinion that eclipse isnot using the groovy compiler. but i have no idea what to do
Is the filename extension .groovy?
Are you sure the project has the Groovy nature? (right-click on the project, and ensure Remove Groovy Nature appears. If Add Groovy nature appears, then the project doesn't have a groovy nature, and therefore the groovy compiler won't work).
Could you also post the file that isn't compiling. There might be something wrong with what you typed.
Make sure you are opening the file in a Groovy editor.
Look for any exceptions in your error log.
Also, just in case, you can try uninstalling and reinstalling the plugin. I'd recommend using the latest milestone version as that one is about to be promoted to 2.1.2 final.
http://dist.springsource.org/milestone/GRECLIPSE/e3.6/
I confirmed that Groovy plugin isnot workingn on mac. I tried it on 2 machines and they are giving the same error. Groovy plugin is working on windows without problems :)
NetBeans is a better option for Groovy+Java development. You can mix Java and Groovy files in a Java project in NetBeans. It also creates a distributable jar for your project. No classpath and jar issues with NetBeans created MET-INF file.