diff --git a/eladmin-system/src/main/java/me/zhengjie/modules/system/domain/Menu.java b/eladmin-system/src/main/java/me/zhengjie/modules/system/domain/Menu.java index 16846e57..5ac2e6cb 100644 --- a/eladmin-system/src/main/java/me/zhengjie/modules/system/domain/Menu.java +++ b/eladmin-system/src/main/java/me/zhengjie/modules/system/domain/Menu.java @@ -40,7 +40,7 @@ public class Menu implements Serializable { private String component; - @Column(unique = true) + @Column(unique = true,name = "component_name") private String componentName; private String icon; diff --git a/eladmin-system/src/main/resources/config/application.yml b/eladmin-system/src/main/resources/config/application.yml index 2127c638..c45c9529 100644 --- a/eladmin-system/src/main/resources/config/application.yml +++ b/eladmin-system/src/main/resources/config/application.yml @@ -2,6 +2,8 @@ server: port: 8000 spring: + freemarker: + check-template-location: false profiles: active: dev jackson: