首页 > 技术文章 > Java代码报错:The method xx方法( ) is undefined for the type XX类
roud 2021-09-15 18:15 原文
如:
解决:一般是导包导错,如图上错误来源于要导sql包下的Connection类,却不慎导错其他包下的Connection类