Category "eclipse"

Eclipse plugin cannot handle Maven toolchain plugin

When I have the Maven toolchain plugin in my pom.xml: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-to

Refactor foreach to for loop

I have a foreach loop in Java (simplified version here) List<String> names = getNames(); for(String name:names) { doSomething(name); } Is there an

unable to compile conditional breakpoint missing java project context

This is a typical java maven project. The run time instance and source code are exactly the same version. I run into the same error "unable to compile condition

Could not find or load main class org.testng.remote.RemoteTestNG - in Eclipse

I've tried to update Selenium webdriver version and now i cant run my tests because of following exception: Error: Could not find or load main class org.t

My tests were running and then I clicked "Run as --> Maven clean" and now when I click "Run as --> Maven test" it doesn't work anymore

My project worked after right-clicking on the pom.xml file in Eclipse and selecting: "Run as --> Maven install" and then "Run as --> Maven test". I start

Eclipse Color Theme reverts to default every time I exit

I am using the native "Dark" theme in Eclipse Luna and then using the Eclipse Color Theme plugin to pick some different editor themes. The issue is that every t

WebSphere Server V.8.5 troubles with Eclipse project

I'm trying to create an IBM WebSphere V.8.5 web app using Eclipse. I downloaded and installed all the IBM packages needed and followed the official guide to cr

How to set gradle cache location?

I see the following info in Eclipse package explorer: Is it possible to change this location?

Hibernate code generation does not create EJB3 annotation on export

Im trying to reverese engineer Mysql db into pojo java with annotation. this is my configuration : both "Use Java 5 syntax" and "Generate EJB3 annotations" are

Can't refactor rename in Eclipse

If I do a refactor rename on something, it tries to do it for a moment but then just reverts it right back to what it was named before. No errors or any indica

Location of android SDK has not been setup in preferences

I am getting this error: I have installed ADT and SDK using install new software in Eclipse. I am using Eclipse Java EE IDE for Web Developers. Version: Keple

How to open Console window in Eclipse?

I accidentally closed the Console window in Eclipse, and now I can't see the result of my code being run. How do you open it again?

How to add basic UI components in cordova project?

I am beginner of cordova learning project and creating a sample application using eclipse. Using CSS file I am able to change image, height, width, margin and p

Maven svn: E215004: Authentication failed and interactive prompting is disabled; see the --force-interactive option

When I try to do a mvn release: perform, I get this error [ERROR] Provider message: [ERROR] The svn command failed. [ERROR] Command output: [ERROR] svn: E2150

Vim incremental search

I'm using putty on a Linux machine. My usual method for searching in vi is entering the slash /, then my search string, enter, then go through all the matches b

Eclipse Java Project - Open Declaration always opens class file instead of .java

I'm posting this query after doing lots of googling and trying out different options for last few days. Is there an easy way to attach source in Eclipse? is the

Eclipse says: “Workspace in use or cannot be created, chose a different one.” How do I unlock a workspace?

When I start, Eclipse says "Workspace Cannot Be Locked" "Could not launch the product because the associated workspace is currently in use by another Eclipse a

How to configure toolchains plugin in m2e / Installed maven in Eclipse

Currently i am using maven(Apache Maven 3.3.9) & Java(Java version: 1.8.0_91) installed in my windows machine. I have a java application which was develope

How to configure toolchains plugin in m2e / Installed maven in Eclipse

Currently i am using maven(Apache Maven 3.3.9) & Java(Java version: 1.8.0_91) installed in my windows machine. I have a java application which was develope

Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-toolchains-plugin:1.1:toolchain

I am using m2e to build a java project. I need to use JAVA VERSION 1.6 . So i am trying to configure toolchains plugin to achieve it. by referring the below lin