프로그래밍 정리/err
[이클립스]Web Deployment Assembly 경로값들이 계속 초기화 될경우
Wooni0477
2023. 2. 1. 15:05
반응형
[이클립스]Web Deployment Assembly 경로값들이 계속 초기화 될경우
증상
이클립스 설정 -> Web Deployment Assembly -> Add를 눌러 경로를 추가를 해도 초기화 되는 증상
원인
org.eclipse.wst.common.component 파일이 없거나 설정이 필요하다.
해결방법
.settings -> org.eclipse.wst.common.component 파일 내용을 다음과 같이 변경한다.
1 2 3 4 5 6 7 8 9 10 11 | <?xml version="1.0" encoding="UTF-8"?> <project-modules id="moduleCoreId" project-version="1.5.0"> <wb-module deploy-name="SpringNoticeBoard"> <wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/> <wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/> <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/> <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/> <property name="java-output-path" value="target/classes"/> <property name="context-root" value="board"/> </wb-module> </project-modules> | cs |
결과
자동으로 폴더 경로가 삽입된다!!
반응형