当前位置: 代码迷 >> VC/MFC >> Maven工程调整SpringMVC和ibatis和Spring
  详细解决方案

Maven工程调整SpringMVC和ibatis和Spring

热度:161   发布时间:2016-05-02 03:20:29.0
Maven工程整合SpringMVC和ibatis和Spring

今天整合ssi历经千辛万苦哈,在此记录一下

Could not instantiate bean class: No default constructor found:

找到提示错误的位置,把构造函数给删了,还有daoimpl继承的是sqlmapdaosupport,看看配置是不是有问题。

Servlet.service()?for?servlet?[RegisterServlet]?in?context?with?path?[/FoodServer]?threw?exception
java.lang.NullPointerException:

找到提示错误的那里,然后dug运行到那个地方后,鼠标放在上面找到为空的变量,如果dao提示空,因为你没有注入,如果是其他地方有误更改就行。

  相关解决方案