IDE
[IntellJ] build 오류시 해결방법(Command line is too long ~)
JuBin
2021. 10. 8. 17:27
반응형
Build시 Error 내용
Error running 'ServiceTest.updateStatusTest': Command line is too long. Shorten command line for ServiceTest.updateStatusTestor also for JUnit default configuration?
해결방법
1. 해당 project Root경로에 .idea/workspace.xml 파일 open
2. <component name = "PropertiesComponent"> section을 찾는다.
3. <property name="dynamic.classpath" value="true" /> 프로퍼티 추가.
4. 재빌드
혹시 Test Class build시(Boot Test)
프로젝트 Settings > Gradle > Run tests using을 Gradle -> IntelliJ IDEA로 수정하고 빌드
반응형