
[Vue error] 프로젝트 생성시 권한오류
2022. 8. 18. 09:16
개발/Error note
vue init으로 프로젝트를 생성하려고했는데 권한이 없대서 확인해보니 권한이 Restricted였다. Set-ExecutionPolicy RemoteSigned 를 했는데도 거부 오류가 떴다 CategoryInfo : PermissionDenied: (:) [Set-ExecutionPolicy], UnauthorizedAccessExcepti on 킹받는다. 찾아보니 Set-ExecutionPolicy -Scope CurrentUser 명령어를 사용하래서 써봤더니 잘된다 cmd 관리자권한으로 실행하라고 하던데 그냥 VSCode 터미널에서 해도 잘된다.

[VSCode Error] 보안 오류: (:) [], PSSecurityException
2022. 8. 17. 15:38
개발/Error note
배포를 위해 serve -s build 명령어를 입력시 시큐리티익셉션이 자꾸 떴다. 확인해보니 스크립트 권한이 제한되어 있을 경우 생기는 오류였다. 해결법 Windows PowerShell을 관리자권한으로 실행 후 ExecutionPolicy set-ExecutionPolicy RemoteSigned 권한을 확인해보면 Restricted로 되어있을텐데 그 권한을 RemoteSigned로 바꿔준다 (unRestricted ㄴㄴ) 이후 다시 설치를 해보면 접속가능한 주소가 Serve 되었다고 뜬다!

[Tomcat error] Could not load the Tomcat server configuration at ...오류 발생시 대처법
2022. 8. 16. 13:57
개발/Error note
Could not load the Tomcat server configuration at \Servers\Tomcat v8.5 Server at localhost-config. The configuration may be corrupt or incomplete. Resource '/Servers/Tomcat v8.5 Server at localhost-config/server.xml' does not exist. Resource '/Servers/Tomcat v8.5 Server at localhost-config/server.xml' does not exist. 해결법 기존의 톰캣을 지우고 새로 로드 했더니 문제가 해결되었다. 아래쪽 server 우클릭 한 후에 delete 저기서 딜..

[Spring (sts) error] expected single matching bean but found 2 || expected at least 1 bean
2022. 7. 22. 06:52
개발/Error note
자주뜨는 오류 setter1.xml에 탐색을 두개 하면 이렇게 뜬다 익명빈 뜨는이유는 Develope 에 id를 안줘서 그럼 빈을 아예 없애버리면 하나도 없다고 알려준다 + 추가로 서비스 어노테이션 안해서 뜨는 오류가 많다 @Service 잘 붙이셈

[Spring (sts) error] 메이븐 특정 라이브러리(jar)제거
2022. 7. 19. 06:50
개발/Error note
pom.xml 클릭 후 pom.xml 하단 dependency Hierarchy 클릭 충돌중인 항목 선택 후 마우스 우측 클릭 Exclude Maven Artifact 클릭 하고 클린하고 restart 하자 삭제하면 알아서 pom.xml 디펜던시에서도 지워짐 그리고 다시 maven 구해서 붙여넣기