개발중/Troubleshooting87 Request header is too large 에러 해결 REST API 를 사용하는 프로젝트에서 공지사항을 다루는 와중에 INSERT (POST) , SELECT (GET) 은 잘 되는데 UPDATE (PUT) 은 아래와 같은 오류가 난다. Header 길이가 길다는데, 그럼 Header Size 를 늘려줄까 ? 어떤 커뮤니티 에서는 Get Parameter 줄이고 GET을 POST 로 변경 하라고 하는데, POST 는 내가 하고자 하는 (수정) 의미와 벗어나기 때문에 후순위로 미룰 것이다. 그래서 PATCH 로 시도해보았는데, 이 또한 실패다. server.max.http-header-size=1000KB server.max.http-header-size=1000KB 으로 변경 너무 큰거 같은데 ; 이렇게 해결 했습니다 😎 server.max.http-he.. 개발중/Troubleshooting 2021. 9. 6. mybatis 에러 해결 : java.lang.IndexOutOfBoundsException 아래와 같은 샤라라라라 에러가 발생했다. 이 에러로 인해 2시간을 해맸다. ### Cause: java.lang.IndexOutOfBoundsException: Index: 25, Size: 25 더보기 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.lang.IndexOutOfBoundsException: Index: 25, Size: 25 ### The error may exist in file [C:\coding\workspace-spring-tool-suite-4-4.9... 개발중/Troubleshooting 2021. 8. 4. Check the 'Function Name Parsing and Resolution' 에러 해결 java.sql.SQLSyntaxErrorException: FUNCTION ~ does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual 쿼리에 이상이 없는데,, ? 생각하지말고 공백 체크 해보고 실제로 쿼리 던져보기. ❌ SELECT COUNT (mmd_seq) AS totalCnt FROM ML_MODEL_DICTIONARY WHERE mmi_seq = 12 ⭕ SELECT COUNT(mmd_seq) AS totalCnt FROM ML_MODEL_DICTIONARY WHERE mmi_seq = 12 개발중/Troubleshooting 2021. 6. 17. java.lang.NumberFormatException: For input string: "" @ApiParam( value = "Paging Limit Num", name = "limitNum", type = "int", example = "") @RequestParam (value="limitNum", defaultValue="0") java.lang.NumberFormatException: For input string: "" WARN i.s.m.p.AbstractSerializableParameter - Illegal DefaultValue 0 for parameter type integer java.lang.NumberFormatException: For input string: "" at java.base/java.lang.NumberFormatException.forInputStri.. 개발중/Troubleshooting 2021. 6. 1. mybatis vo null 처리 - NullPointerException mybatis 에서 SelectOne 으로 데이터를 가지고 올 때 Data 가 없는 경우에는 500 에러가 발생한다. Otinal 을 이용해서 null Check 를 하고 싶었는데 Optinal 사용법이 미숙해서 사용법 숙지가 필요할 것 같다. 그래서 내가 해결한 방법은 Dao 에서 Data 를 받아왔을 때 vo 가 null 이라면 NullPointerException 이 발생할 것이고, 그럴 경우 새 객체를 생성해준다. vo = dao.selectKeword(vo); try { int keywordSeq = vo.getKeyword_seq(); } catch (NullPointerException e) { vo = new CategoryBasicVo(); } 개발중/Troubleshooting 2021. 6. 1. org.mybatis.spring.MyBatisSystemException: nested exception is 에러 org.mybatis.spring.MyBatisSystemException: nested exception is nested exception is ~~~ Error querying database. Mapped Statements collection does not contain value for issueCode.codeList123 이게 못 찾아가겠다는 오류인 것 같은데 DAO 에서 BATIS 를 못찾아가고 있는 이 상황이 🤦♀️ 시도 ✖ mapper nane 바꿔보기 ✖ vo 확인해보기 ✖ result type 바꿔보기 다영선배 찬스 아래에서 발생한 문제이다. 우리 시스템은 설정 파일 자체에서 SqlSession 명까지 선언을 해주었다. 그래서 아래처럼 일치시켜 줘야 한다. 개발중/Troubleshooting 2021. 5. 25. To install it, you can run: npm install --save @/utils/saveId.js 에러 오랜만에 vue 문서를 실행시키니깐 에러가 나온다. * @/utils/saveId.js in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/login/index.vue?vue&type=script&lang=js& To install it, you can run: npm install --save @/utils/saveId.js @/utils/saveId.js npm install 을 요구 하는건 알겠다. 근.. 개발중/Troubleshooting 2021. 5. 14. @ApiParam NULL 해결 / Required String parameter '' is not present ApiParam 으로 4개의 데이터를 전달 받는다. 내가 원하는 흐름은 필수 1개의 데이터는 reqired 는 true 이고 필수 아님 3개의 데이터는 reqired 는 false 이다 public void updateCategory( @ApiParam( name = "NAME", type = "String", value = "이름", example = "SOOBIN", required = true ) @RequestParam("NAME") String NAME, @ApiParam( name = "AGE", type = "String", value = "나이", example = "25", required = false ) @RequestParam("AGE") String AGE, @ApiParam( n.. 개발중/Troubleshooting 2021. 5. 14. Cannot find module 'core-js/package.json' 에러 해결 원래 잘 되던 프로젝트 인데 오랜만에 하려니까 npn run dev 을 하니까 이런 에러가 발생 방법 1 실패 npm add core-js 혹시나 시도 성공 npm i core-js 개발중/Troubleshooting 2021. 5. 12. org.springframework.beans.factory.BeanDefinitionStoreException: 에러 해결 org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [ ~.~.~ ]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'actionLog.keywordStatus' for bean class [ ~.~.~ ] nested exception 코딩할 때는 아무문제 없더가 실행.. 개발중/Troubleshooting 2021. 5. 12. Some of selected resources were not committed. 에러 해결하기🏇🏇 SVN ERROR 🏇🏇 Some of selected resources were not committed. 선택한 리소스 중 일부가 커밋되지 않았습니다. Override and Commit 했더니 저래뜬다. 방법 1 실패 했음 방법 2 - 실패 했음 방법 3 - 해결 기존 파일을 백업 뜬다. overrode update받아. 백업 파일을 프로젝트에 저장 commit 🧡 블로그 글이 도움이 되었다면 좋아요 구독 감사합니다 꾸벅 💛 개발중/Troubleshooting 2021. 5. 12. Git 대소문자 변경 Commit 🌊 Git 대소문자 변경 Commit 내 상황은 폴더명 앞글자를 대문자에서 소문자로 바꾸는 와중에 문제가 생겼다. 폴더명 대문자 → 폴더명 소문자 git 명령어로 커버 가능 (블로그 참조) 폴더명 소문자 → 폴더명 대문자 중복 폴더 생김 방법 찾지 못했음 git 폴더를 삭제하는게 최선이 었음 개발중/Troubleshooting 2021. 5. 9. 이전 1 2 3 4 5 6 7 8 다음