-
Notifications
You must be signed in to change notification settings - Fork 209
Known Limitations & Issues
Kris De Volder edited this page Dec 19, 2019
·
9 revisions
-
JDK8/9/10/11:
- JDK 1.8.0_060 and above are required for some features of Spring Boot Java Support
-
JDK required instead of a JRE
- Some features of the tooling (e.g. the live hover information) require you to run the tooling on top of a JDK instead of a JRE. So please take care to configure your Spring Tools 4 Eclipse installation with a JDK instead of a JRE. You can find the instructions here: https://wiki.eclipse.org/Eclipse.ini. Note: this requirement can be satisfied by pointing at a jre-subdirectory that is nested inside of a jdk installation (this is a typical situation for JDK 8 installations and STS is able to recognize this and select the corresponding/surrounding JDK automatically in this case.
- the same applies to the extensions for Visual Studio Code. For vscode, if a suitable JDK is not automatically detected by our launcher, it will issue an error message. You can override the detection logic it by setting a property
spring-boot.ls.java.home
in your workspace or user settings.
-
Windows
- If "Live Boot Hints" not showing up when they are supposed to check if
<User-Temp-Folder>
has filehsperf-<username>
. If yes, delete this file and restart your boot app and STS4 (Eclipse, VSCode or Atom).
- If "Live Boot Hints" not showing up when they are supposed to check if
-
Lombok
- The Lombok installer doesn't know about the changed name of the STS4 executable and therefore doesn't find it. Nevertheless you can install Lombok manually by modifying the SpringTools4.ini file yourself.
-
Live Hovers not showing up
- make sure the Spring Boot Actuators are on the classpath (add the Maven dependency, if necessary)
- make sure your project is either Boot 1.5.x, Boot 2.0.x, or Boot 2.1.x.
- make sure you run on a JDK, not a JRE (see above)
- there are some network configuration cases that prevent the language server from connecting to the running Spring Boot application via JMX. In that case, add
-Djava.rmi.server.hostname=localhost
to the VM arguments when starting up your Spring Boot app. - On Windows... it is fairly common for the folder at
%TMP%\hsperf-%USERNAM%
to get wrong permissions, especially if you recently installed / reinstalled or updated your JDK. To fix this, simply delete the folder and restart your Boot app and STS 4 (Eclipse, VSCode or Atom). The next java process you start should recreate the folder with correct permissions.
-
Navigation inside of live hovers broken in Atom
- the navigation to bean definitions and types from within live hovers shows up, but doesn't work when clicking on the links, this is a known bug and we are working on it
-
Creating new task items in Mylyn doesn't save edits
- Installing the latest STS 4.1.2 version and using it with Mylyn causes the editor to create new Mylyn tasks to not save the edits anymore, but instead logging an exception. This is due to the bug in the LSP4E component. This issue here contains a description how to fix this without waiting for the next STS release: https://github.com/spring-projects/sts4/issues/207#issuecomment-469245551
- Installation (latest release + snapshots)
- User Guide
- Getting Started
- Navigation
- Live Application Information
- Content Assist
- Version Validation
- Upgrade Support
- Validations and Quick Fixes
- WebFlux Support
- Boot Properties Editor
- Boot Dashboard
- Other Editors
- STS3
- Custom VM args
- FAQ
- Changelog
- Known Limitations & Issues
- Report an Issue
- Developer Manual
- Overview
- Language Server Integration into Clients
- Communication with JDT LS
- STS4 Language Server Protocol Extensions