글

라벨이 spring-boot인 게시물 표시

Spring-boot & mybatis & mysql - java.sql.SQLException: Incorrect integer value: 'string_value' for column 'column_name' at row 1

Error using Enum Type in Spring-boot, Mysql, Mybatis environment. Incorrect integer value: 'string_value' for column 'column_name' at row 1 Java Person class public class Person { private int id ; private String name ; private AgeType age ; private String email ; } public enum AgeType { One ( 1 , " 일 " ) , Two ( 2 , " 이 " ) , Three ( 3 , " 삼 " ) , Four ( 4 , " 사 " ) , Five ( 5 , " 오 " ) ; } Mysql DB Person table +-----------------------+ | Tables_in_spring-boot | +-----------------------+ | Person | +-----------------------+ 1 row in set (0.01 sec) mysql> desc Person; +-------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------+-------------+------+-----+---------+----------------+ | id | int | NO | PRI | NULL | auto_increment | | name | varchar(30) | NO | | NULL ...

[Solved] template might not exist or might not be accessible by any of the configured Template Resolvers

이미지
Spring-Boot + Thymeleaf + Intellij (2019.2) 사용 중 오류. #Error Message 2021-05-29 15:55:22.941 ERROR 25300 --- [nio-8080-exec-1] org.thymeleaf.TemplateEngine              : [THYMELEAF][http-nio-8080-exec-1] Exception processing template "index": Error resolving template [index], template might not exist or might not be accessible by any of the configured Template Resolvers org.thymeleaf.exceptions.TemplateInputException: Error resolving template [index], template might not exist or might not be accessible by any of the configured Template Resolvers at org.thymeleaf.engine.TemplateManager.resolveTemplate(TemplateManager.java:869) ~[thymeleaf-3.0.12.RELEASE.jar:3.0.12.RELEASE] #Situation IntelliJ IDEA 2019.2.4 Java jdk 1.8.0_231 gradle 7.0.2 org.springframework.boot 2.5.0 #Step 1. Create Project - Project SDK : java version "1.8.0_231" - Type : Gradle Project - Java Version : 8 - Dependencies  - Developer Tools : Srping Boot DevTools - Web : S...