<select >
          select dishid,favor,favorid,name,recipes,imagePath,igrename,mainmaterialname,mainmaterialnumber
              from recipestable where dishid=#{dishid}
      </select>

练习java web的时候.xml映射出问题导致报错java.lang.ClassNotFoundException:无法初始化数据库

<select >
          select dishid,favor,favorid,name,recipes,imagePath,igrename,mainmaterialname,mainmaterialnumber
              from recipestable where dishid=#{dishid}
      </select>

路径改正确就好了。。。。

真的是一个马虎,找半天bug。。。。

相关文章:

  • 2021-08-17
  • 2022-12-23
  • 2022-12-23
  • 2021-11-24
  • 2022-01-10
  • 2021-12-10
  • 2021-04-14
猜你喜欢
  • 2021-07-14
  • 2021-12-27
  • 2022-01-03
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
相关资源
相似解决方案