我出错的原因,是 applicationContext = new ClassPathXmlApplicationContext("classpath:mybatis/applicationContext.xml"); 这里面的applicationContext.xml位置没有配对。将applicationContext.xml配置正确。${jdbc.driver} 属性由红变绿。

一般是这个没有配对

<context:property-placeholder location="classpath:mybatis/db.properties" />

相关文章:

  • 2021-04-30
  • 2021-07-27
  • 2021-08-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-02
  • 2021-07-27
  • 2022-12-23
  • 2021-06-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案