错误描述
idea创建maven项目,导入依赖都是成功,但是运行就会报找不到对应jar包的错误
解决办法:
File -> Settings -> 搜索maven -> 展开maven -> Runner -> 勾选Delegate IDE build/run actions to Maven
勾选之后,项目就能运行了
勾选:Delegate IDE build/run actions to Maven将IDE构建/运行操作委托给Maven
转载
https://striveday.blog.csdn.net/article/details/108761024?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2defaultCTRLISTdefault-1.essearch_pc_relevant&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2defaultCTRLISTdefault-1.essearch_pc_relevant