이로

error: cannot access ServletException class file for javax.servlet.ServletException not found 본문

컴퓨터/Spring

error: cannot access ServletException class file for javax.servlet.ServletException not found

利路 2019. 7. 19. 11:51
반응형

 java servlet api 추가하니 해결

 

 

gradle

// https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api
providedCompile group: 'javax.servlet', name: 'javax.servlet-api', version: '4.0.1'

 

maven

<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
<dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>javax.servlet-api</artifactId>
    <version>4.0.1</version>
    <scope>provided</scope>
</dependency>
반응형

'컴퓨터 > Spring' 카테고리의 다른 글

Spring MVC Board 기본 구성(Ver.마이바티스)  (0) 2019.08.13
스프링  (0) 2019.07.24
spring 문제(error)해결 모음  (0) 2019.07.19
인텔리제이 gradle - lombok  (0) 2019.07.18
인텔리제이 console 한글 깨짐  (0) 2019.07.18
Comments