问题描述
在使用 mapstruct 的过程中遇到错误 java.lang.NoSuchMethodError: Ljava/lang/Double 错误
问题解决
-
maven clean, 然后 maven install

-
Build -> Rebuild Project

执行 maven install 时, 如果报错
找不到 xxx 类, 但 ctrl+鼠标左键 发现可以点进去这个类, 那么执行Rebuild Project即可.
如果没有报错找不到 xxx 类, 那么可以忽略这一步.
- 重启 idea, 然后再次运行代码即可.
参考链接: https://stackoverflow.com/questions/62592432/throws-nosuchmethoderror-in-mapstruct
![[openCV]基于赛道追踪的智能车巡线方案V1](https://img-blog.csdnimg.cn/e950a36d0a6b4542b379b74e5eed3575.png)


















