在写注册 并将数据导入到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上面去掉编码试试
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