Notice
Recent Posts
Recent Comments
Link
나의 GitHub Contribution 그래프
Loading data ...
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

Code in Life

[springboot] Command line is long. Shorten command line for xxxApplication or also for Spring Boot default configuration. 본문

에러 및 이슈

[springboot] Command line is long. Shorten command line for xxxApplication or also for Spring Boot default configuration.

퓨끼 2020. 12. 25. 14:26

환경 : Windows10 Pro

에러 : Command line is long. Shorten command line for xxxApplication or also for Spring Boot default configuration.

원인 : Widows에서 cmd 명령의 최대 길이는 2047 또는 8191인데, 의존하는 라이브러리가 많아 길이가 초과된 것.

 

workspace.xml의 설정에서 아래를 추가한다. (이 설정은 classpath 특정 파일에 기록해두고 클래스 로더가 동적으로 읽어들이게하는 옵션이다.)

<property name="dynamic.classpath" value="true"/>

 

Comments