GlobalExceptionHandler extends ResponseEntityExceptionHandler 과 Swagger 충돌 해결하기 1. Swagger 버전 확인하기 Swagger에서 ResponseEntityExceptionHandler 를 정의해서 사용하는 방법이 있는데 특정버전2점대 Spring 과 3점대 Spring이 다릅니다. 먼저 확인해서 버전을 맞춰봅니다. 근데 보통은 맞습니다. 2. 다른 사람들은 직접 정의해서? @Slf4j@RestControllerAdvice(annotations = {RestController.class}, basePackages = {"com.example.HyThon.web.controller"})public class ExceptionAdvice ext..
SQL: INSERT INTO * (Describe*****) VALUES (?, ?, ?, ?, ?, ?, ?, ?)Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Describe)예약어 있는 경우 문제가 있음Describe이렇게 백틱으로 감싸주면 됨
문제점BEGIN NESTED EXCEPTION **javax.net.ssl.SSLException MESSAGE: closing inbound before receiving peer's close_notifySTACKTRACE:javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify at java.base/sun.security.ssl.SSLSocketImpl.shutdownInput(SSLSocketImpl.java:847) at java.base/sun.security.ssl.SSLSocketImpl.shutdownInput(SSLSocketImpl.java:825) at com.mysql.cj.protocol.a..
문제Could not resolve all dependencies for configuration ':compileClasspath'.Failed to calculate the value of task ':compileJava' property 'javaCompiler'. Cannot find a Java installation on your machine matching this tasks requirements:{languageVersion=17, vendor=any, implementation=vendor-specific} for MAC_OS on x86_64.No locally installed toolchains match and toolchain download repositories have..