반응형 java.lang.NullPointerException: Cannot invoke "org.springframework.test.web.servlet.MockMvc.perform(org.springframework.test.web.servlet.RequestBuilder1 test code error - java.lang.NullPointerException: Cannot invoke "org.springframework.test.web.servlet.MockMvc.perform(org.springframework.test.web.servlet.RequestBuilder 오류 내용 java.lang.NullPointerException: Cannot invoke "org.springframework.test.web.servlet.MockMvc.perform(org.springframework.test.web.servlet.RequestBuilder)" because "this.mockMvc" is null 소스 package kr.pe.acet.acetrestapi.index; import kr.pe.acet.acetrestapi.common.RestDocsConfiguration; import org.junit.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.beans.. 2022. 3. 24. 이전 1 다음 반응형