반응형

개발자 공부 업무 정보/DEBUG 6

TypeError: Class constructor Client cannot be invoked without

ES6 로 스크립트를 작성하고 Babel을 사용하여 ES5로 트랜스파일하는 것이 원인. 현재 문제되는 라인의 클래스가 ES5에서 가능했으나 6에선 적용되지 않는 클래스임을 먼저 확인해야한다. Babel 구성에서 제외해야 하며 이는 타입스크립트에서도 동일한 문제을 일으킨다. 해결방법 tsconfig.json { "compilerOptions": { "target": "ES2017", ====== or... ===== "target": "ES6",

Mapped Statements collection does not contain value

mybatis 에러 디버그 IllegalArgumentException: Mapped Statements collection does not contain value 번역 : 매핑된 문 컬렉션에 다음에 대한 값이 없습니다. 해당 오류는 여러가지 원인이 있지만 대표적인 원인들과 해결 방안을 정리한다 1. Set mapperLocation property in your SqlSessionFactory bean mapper의 bean name 설정을 확인해봐야한다. Mapper 의 위치가 루트부터 차근차근 확인하고 루트가 다르다면 수정하여 다시 테스트해보자 2. SQL Syntax (maybe a single small query has an extra "" at the end of the select) 에러..

OSIV 2편

https://itallinform.tistory.com/41 OSIV 1편 JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning JPA를 이용하여 간단한 itallinform.tistory.com 1편에 이어 OSIV가 ON, OFF될 때 어떤 영향이 있는지 알아보자 OSIV ON OSIV ON 상태에선 위 그림처럼 최초 데이터베이스 커넥션 시작 시점부터 ..

OSIV 1편

JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning JPA를 이용하여 간단한 웹앱을 개발하다가 보게 된 WARN 메시지 우선 해당 로그는 OSIV에 대한 내용이다. OSIV Open Session In View : 하이버네이트 Open EntityManager In View : JPA JPA 에선 OEIV가 맞지만 관례상 둘 다 OSIV로 부른다. 스프링부..

반응형