Home > database >  Of SSM integration, make a lot of bugs
Of SSM integration, make a lot of bugs

Time:05-10

Spent two or three days after make a bug and then a bug in the case, I found that there are a few points, first, the inside of the mapper XML code wrong question, moreover is the inside of the spring - dao sqlsessionfactory create this bean, mapper location did not add the classpath: this modified go wrong, then to the web. The XML configuration dispatchservlet inside the class location need to fill in the integration of the spring of the configuration file name, and didn't import lib, rely on the version problem, etc.,
Ok finally completed, or a hard [face] monkey2:019 PNG [/face]
  • Related