본문 바로가기

Study109

Spring 에러 - org.springframework.web.context.support.WebApplicationObjectSupport. 문제 : Maven Update 시 maven 라이브러리 경로가 삭제되는 현상때문에 발생하는 문제 해결 방법 : 아래 순서대로 경로를 다시 설정해주자. 프로젝트 우클릭 > Properties > Deployment Assembly > Add 클릭 > Java Build path Entries > Maven Dependencies 클릭 > Apply 참조 : http://myblog.opendocs.co.kr/archives/1657 2020. 8. 24.
Spring 에러 - Description Resource Path Location Type Failed to read artifact descriptor for 에러 내용 : Description Resource Path Location Type Failed to read artifact descriptor for egovframework.rte:egovframework.rte.psl.dataaccess:jar:3.8.0 org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for egovframework.rte:egovframework.rte.psl.dataaccess:jar:3.8.0 at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArti.. 2020. 8. 24.
Spring 에러 - No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 문제 : 메이븐 install 혹은 배포 시 발생하는 에러로 자바 실행 도구에 문제가 생긴것 해결 방법 : 아래 순서대로 자바 실행도구가 기본적으로 JRE로 연결되어 있는경우 JDK로 변경해준다. Window > Preferences > Java > Installed JREs > Search… 클릭 > JDK 폴더 선택 > JDK 가 보이면 JDK 선택 참조1 : https://mainia.tistory.com/5629 참조2 : https://stackoverflow.com/questions/19655184/no-compiler-is-provided-in-this-environment-perhaps-you-are-running-on-a-jre-ra 2020. 8. 24.
Spring 에러 - maven dependency problem 문제 : maven을 사용하는 프로젝트의 maven repository에 dependency가 제대로 다운로드 되지 않거나 없을 때 발생 해결 방법 1 : C:\Users\{유저명}\.m2 폴더를 삭제 후 이클립스 재실행 해결 방법 2 : 프로젝트 우클릭 > Maven > Update Project 클릭 해결 방법 3 : 상단 project 메뉴 > Clean… > 해당 프로젝트 선택(혹은 전체 선택) > OK 클릭 해결 방법 4 (외부 repository가 있을경우) : 상단 Window > Preferences > Maven > User Settings > User Settings 에 경로 선택 > Update Sttings 클릭 마지막으로, 프로젝트에는 문제가 없는데 이클립스 때문에 에러가 뜨는 경.. 2020. 8. 10.
C언어 - 배열과 스택, 버퍼 오버플로우 배열과 스택은 밀접한 관계가 있다. 스택은 쌓이는 것 같은 이미지를 떠올리지만 사실 배열로 구성되어 있다. 어떻게 구성되어 있는지 아래 코드와 설명을 보며 이해하자. 코드 #include int main() { char ch1[2]; char ch2[2]; char ch3[2]; printf( "문자 입력\n" ); /*scanf의 오류때문에 scanf_s를 쓰는경우엔 'scanf_s("%s",ch1,버퍼의 크기);'와 같이 3개의 인자를 넣어주어야 한다. '_s'가 오버플로우 현상을 잡기위해 만든것이므로 _s에선 오류가 발생하지 않는다.*/ scanf( "%s", ch1); //scanf_s와 같이 _s를 쓰는 연산자는 설정에서 sdl체크를 해제해주면 _s없이 사용 할 수 있다. scanf( "%s",.. 2020. 6. 3.
Python 에러 - could not install packages due to an environmenterror errno 13 permission denied ~ 문제 : pip 설치 시 권한 문제로 인해 발생하는 에러 해결 방법 : --user 옵션을 넣어준다. pip3 install --user django==3.0.2 2020. 5. 21.
Python 에러 - could not find a version that satisfies the requirement django ~ 문제 : 사용하려는 pip에 존재하지 않는 버전을 사용하려고 해서 발생하는 에러 해결 방법 : 아래 명령어로 pip버전을 업그레이드 후 설치 $pip install --upgrade pip 2020. 5. 21.
Python 에러 - int object is not iterable 문제 : int형을 반복문으로 사용 할 수 없어서 발생 해결 방법 : 반복문에 사용되는 변수가 정수인지 확인. 2020. 5. 21.
HTML - intput ="date" 사용 시 year에 6자리 해결 방법 max="2999-12-31" 과 같이 옵션을 주면 해결된다. (min 옵션은 해결되지 않음) 참조 : https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_input_max_min_date 2020. 5. 21.