Tools

Spring Tool Suite 4.15.1 Thymeleaf 플러그인 적용 문제 해결

수앙 2023. 1. 29. 21:34

Spring tool suite 4.15.1 기준으로

STS 마켓플레이스에서 Thymeleaf 플러그인 설치는 잘 되나

프로젝트 선택 -> 마우스 오른쪽 버튼 -> Configure -> Add Thymeleaf Nature 적용이 안되는 문제가 있었다.

 

<해결방법>

SpringToolSuite4.ini 파일을 열어서 아래 빨간부분 처럼 추가하고 STS 실행하면 된다.

--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
--add-opens=java.base/java.net=ALL-UNNAMED
--add-opens=java.base/sun.security.ssl=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
-Dosgi.requiredJavaVersion=11
-Dosgi.dataAreaRequiresExplicitInit=true

참고사이트 : https://github.com/thymeleaf/thymeleaf-extras-eclipse-plugin/issues/110

 

Eclipse Thymeleaf plugin throws exception when using Ctrl+Space · Issue #110 · thymeleaf/thymeleaf-extras-eclipse-plugin

Hello, @ultraq ! I use the latest version of Eclipse, and I installed the plugin, but I only get an Exception when trying to use it: The ''Thymeleaf Processor Proposal Computer'' pr...

github.com

 

끝.