일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- Eclipse
- ubuntu
- 설정
- oracle
- SpringBoot
- AJAX
- Core Java
- myBatis
- IntelliJ
- git
- MySQL
- Spring Boot
- Tomcat
- MSSQL
- Python
- JavaScript
- PostgreSQL
- 문서
- spring
- Open Source
- Source
- 오픈소스
- jpa
- STS
- error
- maven
- JDBC
- Thymeleaf
- Exception
- Docker
- Today
- Total
목록Exception (52)
헤르메스 LIFE
개발환경 Spring Boot 기본프로젝스 생성 후 Maven Install 하여 jar를 생성하던 중 아래와 같은 오류가 발생했습니다. 2022-06-25 15:43:30.351 ERROR 1452 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to det..
여러가지 이상한 로그가 보여집니다. 2022-03-27 02:21:20.726 DEBUG 21440 --- [ main] .c.l.ClasspathLoggingApplicationListener : Application started with classpath: unknown javax.management.InstanceNotFoundException: org.springframework.boot:type=Admin,name=SpringApplication at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1083) ~[na:na] at java...
STS 환경하에서 Gradle 환경으로 개발환경을 구축하던 중 아래와 같은 오류가 발생 했습니다. Cannot use Gradle object after build has finished. Java home 을 지정해주니 해결 됐습니다.
개발환경 1. STS 버전 : 4.13.1 2. JDK 버전 : OpenJDK 11.0.14_9_x64 3. Tomcat 버전 : 9.0.56 4. Maven 버전 : 3.8.4 5. Spring 버전 : Spring Boot 2.6.3 6. Database : Docker 에 DB 설치 - primary - PostgreSQL 13.3 7. Spring Security : 5.6.1 8. lombok 9. Thymeleaf 3.0.14 17:45:47.766 ERROR org.thymeleaf.TemplateEngine.process(1136) - [THYMELEAF][http-nio-9090-exec-7] Exception processing template "loginForm": Error reso..
1. STS 버전 : 4.13.1 2. JDK 버전 : OpenJDK 11.0.14_9_x64 3. Tomcat 버전 : 9.0.56 4. Maven 버전 : 3.8.4 5. Spring 버전 : Spring Boot 2.6.3 package com.study.springboot.test.controller; import static org.springframework.test.web.client.match.MockRestRequestMatchers.content; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servl..
1. STS 버전 : 4.13.1 2. JDK 버전 : OpenJDK 11.0.14_9_x64 3. Tomcat 버전 : 9.0.56 4. Maven 버전 : 3.8.4 5. Spring 버전 : Spring Boot 2.6.3 오류 메시지 org.junit.runners.model.InvalidTestClassError: Invalid test class 'com.study.springboot.test.controller.HelloControllerTest': 1. No runnable methods at org.junit.runners.ParentRunner.validate(ParentRunner.java:525) at org.junit.runners.ParentRunner.(ParentRunner...
개발환경 1. STS 버전 : 4.13.1 2. JDK 버전 : OpenJDK 11.0.14_9_x64 3. Tomcat 버전 : 9.0.56 4. Maven 버전 : 3.8.4 5. Spring 버전 : Spring Boot 2.6.3 6. Database : Docker 에 DB 설치 - primary - PostgreSQL 13.3 - secondary - MySQL DB 8.0.28 8. lombok https://hermeslog.tistory.com/568 [Spring Boot] HikariCP를 이용한 Multi Database Connection + JPA 개발환경 1. STS 버전 : 4.13.1 2. JDK 버전 : OpenJDK 11.0.14_9_x64 3. Tomcat 버전 : 9..
1. STS 버전 : 4.13.1 2. JDK 버전 : OpenJDK 11.0.14_9_x64 3. Tomcat 버전 : 9.0.56 4. Maven 버전 : 3.8.4 5. Spring 버전 : Spring Boot 2.6.3 6. Database : Docker 에 DB 설치 - primary - PostgreSQL 13.3 - secondary - MySQL DB 8.0.28 오류내용 *************************** APPLICATION FAILED TO START *************************** Description: The bean 'productRepository', defined in com.study.springboot.product.repository...
MySQL 최신버전(8.0 이후) 접속 시 아래와 같은 오류가 발생하였습니다. allowPublicKeyRetrieval=true 설정을 추가해주어야 한다고 합니다. jdbc:mysql://localhost:3306/springboot?allowPublicKeyRetrieval=true 더보기 java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110) ~[mysql-connector-java-8.0.25.jar:8.0.25] at com.mysql.cj.jdbc.exceptions..
아마도 ExceptionHandlerExceptionResolver 가 설정되어 있지 않았을 가능성이 있습니다. 스프링 MVC 에서 예외를 처리하는 방법은 Spring 3.2 이전 @ExceptionHandler HandlerExceptionResolver String 3.2 이후 @ControllerAdvice Spring 5 ResponseStatusException Dispatcher Servlet 에는 3개의 HandlerExceptionResolver 가 등록되어 있습니다. ExceptionHandlerExceptionResolver ResponseStatusExceptionResolver DefaultHandlerExceptinResolver https://luvstudy.tistory.com..