Make Be BackEnd
[JUnit] package org.junit does not exist 본문
테스트를 하기 위해 메소드를 만들고 테스트에서 실행 하는 순간 " java package org.junit does not exist" 라는 에러 문구가 일어 났다.
여러곳을 구글링 했고 나온 결과는 pom.xml에서
<scope>test</scope>
해당 부분을 주석 또는 삭제 할것........
그래서 저게 뭔지 찾아봤다
Maven – Introduction to the Dependency Mechanism
Introduction to the Dependency Mechanism Dependency management is a core feature of Maven. Managing dependencies for a single project is easy. Managing dependencies for multi-module projects and applications that consist of hundreds of modules is possible.
maven.apache.org
'IDE' 카테고리의 다른 글
| [IntelliJ IDEA] git에서 fork 한 프로젝트 인텔리J~에 가져오기 (0) | 2024.04.02 |
|---|---|
| [IntelliJ IDEA] Spring 프로젝트 만들기 (0) | 2023.12.27 |
| [STS] 프로젝트 파일에서 new 생성시 calss,JSP File... 기타 리스트 보이기 (0) | 2023.10.04 |
| [STS] Spring Legacy Project : Spring MVC Project 안 나타날 때 (0) | 2023.10.02 |
| [JUnit] JUnit (0) | 2023.09.18 |