본문 바로가기

Error43

Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException 에러원인 Swagger 적용중에 해당 에러가 발생했다. Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException 에러내용 Spring boot 2.6버전 이후에 spring.mvc.pathmatch.matching-strategy 값이 ant_apth_matcher에서 path_pattern_parser로 변경되면서 몇몇 라이브러리에서 오류가 발생하고 있다고 한다. 에러조치 application.yml 파일에 해당 내용 추가 spring: mvc: pathmatch: matching-strategy: ant_path_matcher 2022. 9. 11.
no Creators, like default constructor, exist 에러내용 com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `com.example.restful.user.User` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator) 에러원인 no Creators, like default constructor, exist - 디폴트 생성자가 없다는 뜻 에러조치 에러 내용에 User 클래스가 명시되어있다. User클래스에 @NoArgsConstructor 을 추가. 2022. 8. 31.
Cannot call sendError() after the response has been committed 에러내용 에러원인 Json으로 변환 과정중에 무한으로 참조가 순환되어 일어나는 오류 에러조치 연관관계 매핑 부분에 @JsonIgnore을 붙여주면 순환 참조 관계를 막을 수 있다 @ManyToXXXX 에 붙여주었다. 2022. 8. 29.
Unknown column 'user0_.user_id' in 'field list' 에러내용 에러원인 - user0_.user_id 를 찾을 수 없다는 의미이다. 다른 블로그를 찾아 시도해도 해결되는 것이 없었는데 계속 찾다가 해결했다. 임의로 Column을 넣었는데, 해당 부분때문에 에러가 발생했다. 에러조치 - 위의 내용에서 @Column 부분을 삭제했다. 참고 https://blog.csdn.net/jsqfengbao/article/details/81557850 2022. 8. 29.
BeanCurrentlyInCreationException 에러 에러내용 에러원인 에러조치 - application.yml 파일에 아래 코드 추가 - application.properties 이라면, 아래 코드 추가 spring.main.allow-circular-references=true 참고 https://stackoverflow.com/questions/70130209/beancurrentlyincreationexception-after-upgrading-boot-to-2-6 BeanCurrentlyInCreationException after upgrading Boot to 2.6 After upgrading my project to Spring Boot 2.6.0, I'm getting the following exception during startup:.. 2022. 8. 29.
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.Reason: Failed to determine a suitable driver class 에러내용 에러원인 1 . 게시판을 아주 간단히 만들기위해 프로젝트 생성 후 application 실행 2 . 디펜던시는 MySQL 드라이버만 추가 properties 에 MySQL 관련한 내용 추가하지 않아 에러 발생 (실행불가) 에러조치 #MySQL8 설정 spring.datasource.url=jdbc:mysql://localhost:3306/board?useSSL=false&characterEncoding=UTF-8&serverTimezone=UTC spring.datasource.username=root spring.datasource.password=1234 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver #콘솔에 SQL 출력 여부 s.. 2022. 8. 13.
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.samskivert.mustache.MustacheException$Context 에러내용 Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.samskivert.mustache.MustacheException$Context: No key, method or field with name 'id' on line 24] with root cause 에러원인 스프링부트와 aws로 혼자 구현하는 웹서비스 공부 도중에 에러가 났다. 당연히 500 에러니까 서버에러겠지 하고 구글링을 했다. DB 는 동작중이었고, 저장을 눌렀을 때 h2 DB 까지도 값이 들어가는 걸 확인했다. 그래서 1번을 중점적.. 2022. 8. 6.
Hibernate 쿼리를 MySQL 쿼리로 변환과정 오류 에러 내용 H2 쿼리가 아닌 MySQL 쿼리로 변경 시 에러발생 에러 원인 에러 조치 2022. 8. 4.
This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled 에러내용 MYSQL 함수 생성시 에러발생 에러원인 아래 쿼리를 실행했을 때, 표처럼 value 값이 OFF 로 나오면 함수 추가가 되지 않는다. show global variables like 'log_bin_trust_function_creators'; 에러조치 해당 쿼리를 실행해 Value 값을 ON으로 변경해서 해결 SET GLOBAL log_bin_trust_function_creators = 1; 2022. 8. 2.