注册时报错 并且数据导入不到navicat

问题遇到的现象和发生

在写注册 并将数据导入到navicat

问题相关代码,请勿粘贴截图

onsubmit="return false;不让表单进行跳转
@Transactional

运行结果及报错内容

2022-01-07 12:08:15.630 ERROR 7084 --- [nio-8080-exec-3] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: Unsupported character encoding 'uft8'] with root cause

我的解答思路和尝试过的方法

不能进行注册并且数据导入不到navicat

我想要达到的结果

正常注册运行并且将数据导入到navicat

jdbc url上面去掉编码试试

img

ERROR 13884 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :


APPLICATION FAILED TO START


Description:

A component required a bean of type 'org.springframework.mail.javamail.JavaMailSender' that could not be found.

Action:

Consider defining a bean of type 'org.springframework.mail.javamail.JavaMailSender' in your configuration.

Process finished with exit code 1