Springboot、maven报错大全

org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType

原因:缺少 spring-boot-starter-jdbc

// 导入依赖
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>

这里只说了缺少什么,但为什么发生?之前引用过mybaits,因为它引用了jdbc所以项目不报错,偶然间删除mybaits之后就报这个错了!

Element 'dependency' cannot have character [children], because the type's content type is element-on

报错原因:因为是直接从网上拷贝过来粘贴在pom.xml中的可能格式会有冲突

把前面的空格都删了,重新排版就行

如下

Parameter 0 of method modifyRequestBodyGatewayFilterFactory

https://blog.csdn.net/jamesleel/article/details/84838057

maven warnning 'build.plugins.plugin.version' is missing

https://www.cnblogs.com/softidea/p/11466376.html

一般都是maven pluging 没有设置版本...

posted @   方东信  阅读(261)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
点击右上角即可分享
微信分享提示