Error importing project with Eclipse: JavaCC - java

I am getting this error everytime I want to import some maven projects in Eclipse:
I already installed JavaCC plugin and CheckStyle for Eclipse, yet I can't pass this because if I finish by resolving later, many projects won't show or do not detect source folders.
Any Ideas?

You can try installing the m2e javacc connector from https://github.com/objectledge/maven-extensions.
The connector is described at http://objectledge.org/confluence/display/TOOLS/javacc-maven-plugin+connector
The stable p2 update site is at : http://objectledge.github.com/maven-extensions/connectors/updates/milestones

Could not install that plugin in Eclipse Neon ...
while the javacc-maven-plugin also provides the dependencies.

Related

Eclipse RCP: Required plugin could not be found

I am new to Eclipse RCP and plugin development so please don't be cruel.
I am using Maven and I have a remote repository. Yesterday Eclipse was fine but today it got messed up and I imported all the projects again so I reconfigured all but I can't get out of this problem. We use e(fx)clipse 2.5 but I installed the 3.0 version of it because I didn't find the link to install it via Eclipse.
Could you please tell me how I add a dependency? There is something that I am missing there?
Thank you
Adding the location http://download.eclipse.org/releases/oxygen/ to your target platform should fix the errors.

Conflict in Eclipse Mars with Maven and SVN?

I've been using Eclipse for programming and testing Storm just fine, however, I created an SVN account, where I commit the project, and for that, I needed the SVN plugin for Eclipse. It worked, but after that, i get this message on a popup error window when I try to launch:
Referenced classpath provider does not exist:
org.eclipse.m2e.launchconfig.classpathProvider
I realised that in the "configure" menu, the option "convert to maven project" (right click on project) disappeared. The "runAs" options for the java topology doesn't run with this error, and the "pom.xml" cannot be run as maven.
Possible fix tried:
I tried to reinstall all maven builders to Eclipse(it doesn't let me to unninstall).
I tried to rebuild config by:
mvn eclipse:clean eclipse:eclipse
None of this worked, my Eclipse version is:
Eclipse Java EE IDE for Web Developers.
Version: Mars.1 Release (4.5.1)
Build id: 20150924-1200Eclipse Java EE IDE for Web Developers.
On Ubuntu Gnome 14.04.
As I said, it was running perfect until I installed SVN plugin.
EDIT
I realised that I have installed two plugins of m2e:
Maven integration for Eclipse (Luna and newer)1.5
Maven integration for Eclipse (Luna)1.5.0
Both in marketplace, but I have no way to uninstall them, it says:
[plugin] cannot be fully uninstalled because other installed software requires it. The parts that are not required will be uninstalled.
EDIT 2
In the "Installation History" within the "Help>Installation details" menu, I saw that "Maven integration for Eclipse (Luna)1.5.0" was installed by (or with) SVN plugin, so I think the problem is there, nevertheless, I can't uninstall it as I said in my first "EDIT".
If anyone has a clue about what is happening, please, help me.
Thanks in advance!
We use Subclipse in Eclipse (Kepler and Mars) without problems (Did you install Subclipse or Subversive?).
To check out projects as Maven projects, you should install a m2e connector. Subversive has one in the "Discovery" catalog while for Subclipse there is a separate update site.
If your eclipse plugin configuration is somehow broken, I would start again with a virgin eclipse (Mars.1, Mars.2 or Neon) which already contains m2e in version 1.6 or 1.7. Then you can install Subclipse or Subversive and try again.
Workaround proposal: simply don't deal with SVN within eclipse!
Instead, you can use "git svn" on ubuntu.
Meaning: with git svn you can create a local git repository, that allows you to commit/fetch to a remote SVN server. But to your eclipse ... that repository looks a common of garden GIT repository.
In other words: using that tool, you can still connect to SVN (although I don't understand why anybody would want to do that in 2016); but you have all the features of git available to you as well (including full support within eclipse; without installing any additional plugins).

Golang plugin on Intellij

I want to use Intellij 13.1.6 as my go app IDE, but there are some problem I can't sovle yet.
The default version of go support plugin installed on Intellij is 0.9.15, but in this version, there are some bugs so that I can build project successfully.
So I try to build the go-plugin jar by myself follow this article:
https://content.pivotal.io/blog/setting-up-the-google-go-plugin-with-intellij-idea-13-on-os-x-10-8-5
But when I click Prepare Plugin Module 'google-go-language' For Deployment, it shows errors cause some method can't be found. As the following figure
I think the problem is the version of my Intellij lack of some lib so that I can't build go-plugin jar successfully. How do I fix this?
Appreciate any replies.
Intellij Version: 13.1.6
JDK Version: 1.7
Go-plugin on GitHub: the latest commit on master branch (0261ffa)
The latest version of the Go plugin code requires IntelliJ IDEA 14.

Spring, Neo4j, Java - scala-maven-plugin:3.1.0 error

When I try import neo4j maven project for example (https://github.com/neo4j/neo4j/tree/2.0.1/community/cypher/cypher-docs), I get this error (https://www.dropbox.com/s/y7f89xzbzz4qm43/scala.png). Is any chance how to fix? Thx.
Install m2e-scala. M2E is what is giving this error, and there is a special eclipse plugin for scala using m2e.
Use this update site to install it as an eclipse plugin.

How to open a Apache Maven project on NetBeans 7.0.1

I'm trying to open a project created with Apache Maven in NetBeans, with no success. I followed the directions given by this link: http://wiki.netbeans.org/MavenBestPractices but the Open Project dialog does not recognizes the project in the folder. When I point to the folder that contains the pom.xml file, it shows as if the folder is empty, except for the sub-folders. Apparently Apache Maven is disabled, but I can't find how to enable it.
Could someone point what is the mistake that I'm doing?
please make sure the maven modules are actually installed in your distribution. (Tools/Plugins I believe). And the latest NetBeans version is 7.4, 7.0.1 is fairly old already.
I installed the NetBeans 7.4 from here: http://www.oracle.com/technetwork/java/javase/downloads/jdk-7-netbeans-download-432126.html and it worked! Probably the build from Ubuntu repositories has issues. Thanks for the suggestions!

Categories