본문 바로가기

전체 글

(262)
spring boot, mybatis 에러 : EL1008E: Property or field 'idx' cannot be found on object of type 'coupleMatching.dto.Person' - maybe not public or not valid? spring boot, mybatis, thymeleaf를 사용중 에러가 났다. EL1008E: Property or field 'idx' cannot be found on object of type 'coupleMatching.dto.Person' - maybe not public or not valid? dto 클래스인 person에 getter를 정의해주지 않아서 생긴 오류. 혹시나 싶어 Setter, NoArgConstructor를 붙여놨었다. (아래 3개의 어노테이션은 lombok에서 제공하는 어노테이션이다.) 실험결과 getter만 있으면 되고 나머지는 없어도 된다.
intellij spring boot 에러 : FATAL ERROR in native method: processing of -javaagent failedUnexpected error (103) returned by AddToSystemClassLoaderSearch. idea_rt.jar to system class path - the system class loader does not define the appendToClassPathForInstrumentation method or the method failed. 인코딩을 utf-8로 고치려고 했다. setting에서 encoding을 다 바꾸고 custom vm options에 -D UTF-8 ~ 어쩌고 저쩌고를 추가했다. 그 사이에 내가 무엇을 손댓는지 모르겠지만 갑자기 아래와 같은 메시지가 뜨면서 실행이 되지 않았다. 첨에는 custom vm options을 손댄 것이 잘못인줄 알았으나 그건 아닌 것 같다. 6시간 정도의 삽질 끝에 알아냈다. 우측 상단의 어플리케이션->edit configurations...
intellij gradle 에러 Task :compileJava FAILED Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. 자꾸 이런에러가 났다. file -> setting -> gradle 검색 gradle이라고 되어있는 2개를 intellij로 바꿔주면 된다. 이후 오류없이 잘 작동했다. 이전에 한번 설정했었는데 아마도 프로젝트마다 다시 설정해 줘야 하나보다.
maven repository사용법 maven repository 홈페이지에 들어가서 찾고자 하는 라이브러리 검색. 나는 spring framework의 spring context를 사용하기 위해서 들어왔다. 세번째 spring context선택 그 다음에는 버전을 선택해야 한다, 원하는 버전을 클릭하자. 사용하는 빌드 툴 maven, gradle 등을 선택하자. 나는 gradle을 사용하기 때문에 gradle을 눌렀다. implements~를 복사해서 gradle.build의 dependencies{}에 넣으면 된다.
Gradle build.gradle 버전별 차이 compile, runtime, testCompile, and testRuntime은 gradle 4.1부터 deprecated implementation, runtimeOnly, testImplementation, and testRuntimeOnly으로 대체됨. https://stackoverflow.com/questions/23796404/could-not-find-method-compile-for-arguments-gradle
boj2206
git bash 무엇? 왜 쓰는가? https://parkjh7764.tistory.com/39 Git, Git Bash 쉬운 설치/ Git Bash 설치 쉽고 자세한 설명/ 윈도우 OS에서 리눅스 환경 구축하기/ Git Bash Git Bash라는 것을 설치하기 전에 Git Bash가 무엇인지 부터 알아보고 가자. Git Bash란 무엇인가? 아래 사진을 보면 왼쪽은 우리가 Windows 운영체제에서 주로 쓰는 '명령 프롬프트, cmd'이고 오른쪽 사진 parkjh7764.tistory.com
싱글 페이지 어플리케이션 하나의 페이지만 가지고 있는 웹사이트 https://m.blog.naver.com/dktmrorl/222085340333