Skip to content

Commit

Permalink
优化启动项目时 freemarker发出的警告
Browse files Browse the repository at this point in the history
  • Loading branch information
elunez committed Sep 27, 2019
1 parent c105df6 commit ad4537b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions eladmin-system/src/main/resources/config/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ server:
port: 8000

spring:
freemarker:
check-template-location: false
profiles:
active: dev
jackson:
Expand Down

0 comments on commit ad4537b

Please sign in to comment.