an exception has been caught while processing the refactoring delete resource 에러가 나는 경우.


프로젝트를 지우려는데 일부만 지워지고 나머진 안지워지고 에러창이 난다...


이클립스에서 지우려고 하는데 어딘가에서 쓰고 있기 때문이다.


github 에서 검색중 발견한 댓글


This is probably going to be a limitation on windows which locks the files in use. bndtools is using bnd which is using the plugins in cnf. On a sane file system, they can be deleted. I supposed the only thing that could be done is to set the files up for deletion on vm exit.

You can, of course, complete the deletion from the command line after exiting eclipse.



대충... 그냥... 다른데서 쓰고 있으니까 못지운다는 얘기 같은데...


서버 끄고 이클립스 끄고 다시 열어서 지우니까 지워진다.




포스팅이 도움이 되셨다면 마우스를 조금만 움직여서 

공감하기를 눌러주세요 블로거에게 큰 힘이 됩니다~! 


해당경로에 파일이 있지만 실행시 해당 경로를 찾지 못하는 경우


/src/main/resources/egovframework/spring/com/context-security.xml


파일에 


<security:http pattern="/디렉토리이름/**" security="none"/>


을 추가해 준다.


2.


egov-com-social.xml 파일에


<mvc:resources mapping="/디렉토리이름/**" location="/디렉토리이름/" />


추가 해준다.


포스팅이 도움이 되셨다면 마우스를 조금만 움직여서 

공감하기를 눌러주세요 블로거에게 큰 힘이 됩니다~! 

+ Recent posts