๋ฐ์ํ
SBA(Spring Boot Admin)์ ์ฌ์ฉํ๊ธฐ ์ํด ๋ชจ๋ํฐ๋งํ๊ณ ์ ํ๋ ํ๋ก์ ํธ์ 'spring-boot-admin-starter-client' ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ถ๊ฐ ํ๋ค.
java: cannot access javax.interceptor.InterceptorBinding
class file for javax.interceptor.InterceptorBinding not found
Consult the following stack trace for details.
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for javax.interceptor.InterceptorBinding not found
๊ทธ ์ ์ build๊ฐ ์ ๋๋๋ฐ ๊ฐ์๊ธฐ ์์ ๊ฐ์ ์๋ฌ๊ฐ ๋ฐ์ํ๋ฉด์ ์คํจํ์๊ณ , ์์นํด๋ณด๋ 'javax.interceptor-api' ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ถ๊ฐํด์ผํ๋ค๊ณ ํ๋ค. (์์ธ์ ์์ง ๋ชจ๋ฅด๊ฒ ์..) ์ถ๊ฐํ๋ ์๋ฌ ์์ด ์ ๋๋ค.
- Gradle
// https://mvnrepository.com/artifact/javax.interceptor/javax.interceptor-api
implementation 'javax.interceptor:javax.interceptor-api:1.2.2'
- Maven
<!-- https://mvnrepository.com/artifact/javax.interceptor/javax.interceptor-api -->
<dependency>
<groupId>javax.interceptor</groupId>
<artifactId>javax.interceptor-api</artifactId>
<version>1.2.2</version>
</dependency>
728x90
๋ฐ์ํ
๋๊ธ