搭建Springboot分层项目完成后,运行mini-api中的application

来源:5-4 搭建Springboot分层项目

慕粉8237606

2020-12-21

出现了以下的情况
. ____ _ __ _ _
/\ / __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ’ / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
’ |
| .__|| ||| |__, | / / / /
=|_|======|/=////
:: Spring Boot :: (v2.3.7.RELEASE)

2020-12-21 14:25:45,622 [main] [org.springframework.boot.StartupInfoLogger.logStarting(StartupInfoLogger.java:55)] - [INFO] Starting Application on DESKTOP-RTKNCH5 with PID 9748 (D:\myWorkplays\zdxh-video-dev\zdxh-video-dev-mini-api\target\classes started by 22401 in D:\myWorkplays\zdxh-video-dev\zdxh-video-dev-mini-api)
2020-12-21 14:25:45,624 [main] [org.springframework.boot.SpringApplication.logStartupProfileInfo(SpringApplication.java:651)] - [INFO] No active profile set, falling back to default profiles: default
2020-12-21 14:25:46,154 [main] [org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter.report(LoggingFailureAnalysisReporter.java:40)] - [ERROR]


APPLICATION FAILED TO START


Description:

Failed to bind properties under ‘mapper.mappers’ to java.util.List<java.lang.Class<?>>:

Property: mapper.mappers
Value: com.zdxh.utils.MyMapper
Origin: class path resource [application.properties]:29:16
Reason: No converter found capable of converting from type [java.lang.String] to type [java.util.List<java.lang.Class<?>>]

Action:

Update your application’s configuration

写回答

2回答

风间影月

2020-12-21

项目配置有问题啊。问一下之前有没有接触过javaweb项目呢?或者springboot?

0
0

慕粉8237606

提问者

2020-12-21

老师,是不是sts的环境还没有配置好?

0
0

Spring Boot短视频小程序开发 全栈式实战项目

一门课程带你搞定短视频小程序全栈开发,毕业设计之利器!

2613 学习 · 1952 问题

查看课程