今天测试使用JdbcTemplate,报错,报错内容如下:

Multiple markers at this line

      - The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced from

       required .class files

      - The method update(String) from the type JdbcTemplate refers to the missing type DataAccessException

 

Multiple markers at this line - The type org.springframework.dao.DataAccessException cannot be

最开始以为是jre版本过高了,改成1.6还是同样的问题,后来发现是有一个包spring-tx-4.1.5.RELEASE.jar,没有放到lib里面,下载粘贴进去,build to path错误就消失了

Multiple markers at this line - The type org.springframework.dao.DataAccessException cannot be

 

 

相关文章:

  • 2021-07-13
  • 2021-09-24
  • 2021-08-02
  • 2021-09-15
  • 2021-05-15
  • 2021-10-03
  • 2021-06-24
猜你喜欢
  • 2021-08-29
  • 2021-08-24
  • 2021-09-30
  • 2022-12-23
  • 2021-06-15
  • 2022-12-23
相关资源
相似解决方案