spring-tool-suite

Checkstyle: Custom Rules - Eclipse Plugin

ε祈祈猫儿з 提交于 2019-12-01 08:47:35
I have written few custom checkstyle rules using checkstyle API. They run fine using Maven (after I add the new project as a dependency to the checkstyle plugin). Now I want these rules to be used by the Eclipse Checkstyle plugin. And this is where I am stuggling. I've downloaded the sample plugin project (as suggested here and here ). I do not understand what to do next after reading these links. Do I need to export my project as a JAR? How do I plug it into my existing Checkstyle plugin? Thanks You already have the correct links that will eventually get you there. As for your questions: All

Eclipse Spring Tools missing content assist/ autocomplete

。_饼干妹妹 提交于 2019-12-01 05:46:37
new year - new problems ;) I'm working on a Linux machine and I've just installed a new Eclipse. Version: Oxygen.2 Release (4.7.2) Build id: 20171218-0600 JRE: java version "1.8.0_151" Java(TM) SE Runtime Environment (build 1.8.0_151-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode) Then I've added the latest Version of Spring Tools 3.9.2.RELEASE via the marketplace. The only other additional plugin that is currently installed is Subversive 4.0.5 The Project that I'm working on and that previously worked as expected has the Spring Boot Project Nature enabled. But with the

Checkstyle: Custom Rules - Eclipse Plugin

无人久伴 提交于 2019-12-01 05:35:57
问题 I have written few custom checkstyle rules using checkstyle API. They run fine using Maven (after I add the new project as a dependency to the checkstyle plugin). Now I want these rules to be used by the Eclipse Checkstyle plugin. And this is where I am stuggling. I've downloaded the sample plugin project (as suggested here and here). I do not understand what to do next after reading these links. Do I need to export my project as a JAR? How do I plug it into my existing Checkstyle plugin?

Configure STS with JPA 2.0 using PostgreSQL 9.3

本小妞迷上赌 提交于 2019-12-01 05:13:19
I have an old Spring MVC project which I used to run with Eclipse on JBoss and using JPA 2.0 with (I believe) a PostgreSQL 9.1 DB. Also using Maven as dependencies resolver. I managed to get the project back from an HDD crash but I couldn't get it to run properly using Eclipse/Tomcat so I thought I might use the opportunity to start using STS (Spring Tool Suite) and get a clean project and just re-insert the code where it belongs. Sadly, I'm stuck at the very beginning... I created a Spring MVC project with Maven support, but can't set up the JPA 2.0 part. I went to Project > Properties >

Intellij, Spring dev tools remote, Docker, error Unexpected 404 response uploading class files

时间秒杀一切 提交于 2019-12-01 04:26:43
Im trying to use Spring Boot Dev tools (Spring Remote), and automatically upload recompiled files to my docker container. I keep receiving Unexpected 404 response uploading class files This is my docker file: FROM java:8 WORKDIR /first ADD ./build/libs/first.jar /first/first.jar EXPOSE 8080 RUN bash -c 'touch /first/first.jar' ENTRYPOINT ["java","-Dspring.data.mongodb.uri=mongodb://mongodb/micros", "-Djava.security.egd", "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005","-jar", "first.jar"] This is my configuration and the configuration And this is the error I'm receiving:

Eclipse Spring Tools missing content assist/ autocomplete

泪湿孤枕 提交于 2019-12-01 03:36:47
问题 new year - new problems ;) I'm working on a Linux machine and I've just installed a new Eclipse. Version: Oxygen.2 Release (4.7.2) Build id: 20171218-0600 JRE: java version "1.8.0_151" Java(TM) SE Runtime Environment (build 1.8.0_151-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode) Then I've added the latest Version of Spring Tools 3.9.2.RELEASE via the marketplace. The only other additional plugin that is currently installed is Subversive 4.0.5 The Project that I'm

How can I download older versions of STS? [closed]

别等时光非礼了梦想. 提交于 2019-12-01 00:23:43
I'm looking to download the 3.6.0 sts-bundle but I cannot find the place to do this on https://spring.io/tools/sts/all . I'm only seeing downloads for 3.6.1. Does anyone know where this can be done? Thanks. Here is the download URL for OSX (32bit): http://download.springsource.com/release/STS/3.6.0/dist/e4.4/spring-tool-suite-3.6.0.RELEASE-e4.4-macosx-cocoa.tar.gz (are you sure you wanna use 32bit on OSX? I would recommend to use the 64bit version so that you can run that on JDK7 or JDK8): http://download.springsource.com/release/STS/3.6.0/dist/e4.4/spring-tool-suite-3.6.0.RELEASE-e4.4-macosx

Cannot find Spring MVC project when creating new web application project using STS?

天大地大妈咪最大 提交于 2019-11-30 22:11:23
I'm new to Spring MVC and trying to learn from the internet tutorial such as these good ones from journaldev , springsource , and codejava All of those tell me use STS as the IDE and to go for New Project - Spring Template Project - Spring MVC Project . Though in my case, using the version 3.6.1.RELEASE of STS, I can NOT find any Spring MVC Project options there. Do you have the same issue using STS? p.s. I found the solution here for previous version of STS, though it not works for version 3.6.1. Seeing no MVC template snapshot. I've just solved the problem. These are my way: - Go to New

How can I download older versions of STS? [closed]

一个人想着一个人 提交于 2019-11-30 20:04:43
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I'm looking to download the 3.6.0 sts-bundle but I cannot find the place to do this on https://spring.io/tools/sts/all. I'm only seeing downloads for 3.6.1. Does anyone know where this can be done? Thanks. 回答1: Here is the download URL for OSX (32bit): http://download.springsource.com/release/STS/3.6.0/dist/e4.4

Unable to connect mysql to spring boot project

こ雲淡風輕ζ 提交于 2019-11-30 19:18:05
i am following this https://spring.io/guides/gs/accessing-data-mysql/ guide to connect mysql db to spring boot project but getting following error when running the application, i am generating spring starter project and only selecting web, mysql and jpa boxes while creating project via spring tool suite 2018-03-28 16:48:42.125 ERROR 15452 --- [ main] com.zaxxer.hikari.HikariConfig : Failed to load driver class com.mysql.jdbc.Driver from HikariConfig class classloader jdk.internal.loader.ClassLoaders$AppClassLoader@782830e 2018-03-28 16:48:42.128 WARN 15452 --- [ main]