1. 프로그래밍/오류

    로컬에서는 실행되는데 호스팅 서버에서는 실행 안 될때 - Could not resolve type alias '클래스명'. Cause: java.lang.ClassNotFoundException: Cannot find class: 클래스명

    로컬에서는 잘 실행되는 프로젝트가 호스팅 서버에 올리니까 오류가 뜨고 실행이 안 됐다. 로그를 보니 아래와 같이 오류가 떠서 root-context 파일부터 에러 뜨는 클래스, 파일 경로까지 확인했지만 도저히 문제를 못 찾았다. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/spring/root-context.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOExcep..

    로컬에서는 실행되는데 호스팅 서버에서는 실행 안 될때 - Could not resolve type alias '클래스명'.  Cause: java.lang.ClassNotFoundException: Cannot find class: 클래스명

    java.util.zip.ZipException: error in opening zip file 에러

    lib 폴더에 있는 jar 파일들이 이상해서 발생하는 오류 해결방법 => .m2/repository 삭제 후 프로젝트 우클릭 -> Maven -> Update Proeject [ 맥에서 위치 : ~/.m2/repository ] 참조 https://stove99.github.io/java/2019/08/09/error-in-opening-zip/ 배포후 WAS 스타트시 java.util.zip.ZipException: error in opening zip file 에러가 날때 war 파일을 맨들어 톰캣에 배포하고 서버를 리스타트 하는데 자꾸 아래와 같은 오류가 나면서 서버가 실행되지 않았다. stove99.github.io

    톰캣이 프로젝트 인식을 못할 때

    프로젝트 우클릭 -> Properties -> Project Facets -> Dynamic Web Module 체크 후 우측의 Runtiemes 에서 톰캣 체크 만약 톰캣이 체크가 안 될 경우 Dynamic Web Module의 Version을 내려가면서 찾아야함 참조 https://wakestand.tistory.com/354 톰캣 Add and Remove가 되지 않을 경우 해결방법 톰캣에서 Add and Remove는 웹 프로젝트가 있을 경우에만 가능한데 문제는 웹 프로젝트가 있는데도 Add and Remove 시 위와 같이 There are no resources that can be added or removed from the server. 가 뜨면서 안되는 경 wakestand.tistor..

    톰캣이 프로젝트 인식을 못할 때

    STS EXC_CRASH (SIGKILL (Code Signature Invalid)) 에러

    맥에서 sts를 실행시키는데 위와 같은 오류가 뜨고 실행이 되지 않았다. 우선 /bin/ 위치로 이동 (bin 폴더가 보이지 않으면 숨겨진 파일 확인하면 있음! (숨겨진 파일 보기 단축키 ctrl+shift+.) ) bash 파일 실행 sudo codesign --force --deep --sign - /Applications/STS.app 입력 후 패스워드 입력 (STS.app 에 실행 안되는 프로그램 써주면 됨) 그런 후 다시 실행해보면 잘 됨!! 이래도 안 될 경우 앱 패키지보기 -> codeSign폴더가 있는지 확인 후 삭제하면 된당! 참조 https://sansanji.tistory.com/entry/MAC-%EC%97%90%EC%84%9C-%EA%B0%91%EC%9E%90%EA%B8%B0-AP..

    STS EXC_CRASH (SIGKILL (Code Signature Invalid)) 에러

    java build path maven dependencies 오류

    1. maven update : 프로젝트 우클릭 -> maven -> update project -> (force update of snapshot/release 체크) ok클릭 2. clean project : 이클립스 상단 project 탭 -> clean 3. .m2 repository 삭제 후 다시 빌드 : C: -> 사용자 -> .m2 -> repository 폴더 삭제 참조 더보기 https://deeds-not-words.tistory.com/entry/Eclipse-java-build-path-maven-dependencies-%EC%98%A4%EB%A5%98-%EC%8B%9C [Eclipse] java build path maven dependencies 오류 시 1. maven upda..

    java build path maven dependencies 오류

    Deployment Assembly 오류

    Deployment Assembly에서 this given project is not a virtual component project further configuration required 오류 Projec Facets에서 Dynamic Web Module / Java / JavaScript 선택 후 Apply Project Facets에서 Dynamic Web Module 클릭 Apply 안될 때 -> 프로젝트 폴더 .settings 폴더 org.eclipse.wst.common.project.facet.co... 에서 내용 수정

    Deployment Assembly 오류