I’m developing a REST API using Spring Framework. First I wasn’t able to run my application because of the same problem. The port 8080 on my computer is busy. Then I found out that one alternative to solve this problem is creating an application.properties file under src/main/resources folder. Tha…
Tag: eclipse
Synchronize Gradle projects with workspace failed
I’ve the Spring Tool Suite v3.8.3 and its component Spring IDE v3.8.4.201702201939-CI-B1500. I’ve also the Gradle Buildship v2.0. I created a project with JHipster v4.0.5 but is not possible to import it. (there were not errors before the Gradle Buildship 2). Below the error: Synchronize Gradle pr…
How can I create a checkbox in a TableViewer of JFace?
I have created a tableViewer with two columns and I want to make one of them a checkbox. To do that I have created a CheckBoxCellEditor, but I don´t know why it isn´t working. The column called tableName displays it´s values OK. The column specification is the following. And the EditingSupport is the followin…
Eclipse – Java – Gradle is skipping jacocoTestReport
Project structure: Gradle version : 2.2.1 Here is my build.gradle when I run gradle task as “test jacocoTestReport”, I am getting the below results can someone please suggest what should be added to execute jacoco test report. Thanks. Answer I was able to generate the code coverage results with th…
Eclipse – Stuck “processing jax-rs changes”
I have installed Eclipse Mars2 and when I try to save changes I got a message saying “Processing JAX-RS changes… (Waiting)” and Eclipse freezes for a couple of minutes. I’m developing a spring-mvc maven based application using jboss as server (I don’t know whether this is relevan…
SLF4J logging with jboss/wildfly 10
I have a Java webapp running in a WildFly 10 server. I used to have the following libraries as Maven dependencies: I would now like to use wildfly’s builtin logging subsystem. Which libraries do I need to add to my project(s)? How do I configure the default log-category and root logger declared in stand…
Eclipse plug-in: Custom plugin.xml like editor
I’ve been trying to mimic the plugin.xml editor in my own Eclipse plug-in. I want a graphical editor for a custom file type. The same way in which PDE has a specific form/editor to open plugin.xml. From what I understand I can implement a text Editor and link a file type to open in a particular editor. …
How to change a default charset for Java machine in Eclipse?
I am finding any elegant method, how can I change default charset of Java machine to UTF-8 in Eclipse. I have found many methods, how to do from source code, but I would like to know, how to do it fast, easy, from Eclipse IDE without writing java source code. Thanks. Answer You can change the workspace defaul…
Eclipse JUnit 5 support
Currently, JUnit 5 is just out with a “stable” version. IntelliJ supports JUnit 5 according to the Website. My question is if eclipse is supporting JUnit 5 as well, and if not when it is going to be supported. With supported I mean if I can run JUnit 5 tests without the need for a @RunWith(Platfor…
tomcat server not starting in eclipse
my tomcat server not starting with timeout 45seconds… getting following message I need help. Please give me some solution this is an error.. hope u can view it Answer please, increase tomcat’s time-out seconds see below will help out how to increase it into eclipse, by-default tomcat’s time-…