Home > Back-end >  Suppress dead me. This error, the operation of the SSM maven project, seemingly XML configuration ha
Suppress dead me. This error, the operation of the SSM maven project, seemingly XML configuration ha

Time:11-06

 suppress dead me, this error, the operation of the SSM + maven project, seemingly XML configuration has a problem, but I really don't know where the problem is, baidu for a long time, the error message is as follows:  source source: https://blog.csdn.net/u014717572/article/details/80186939? Utm_medium=distribute. Pc_relevant_t0. None - task - blog - BlogCommendFromMachineLearnPai2-1. Channel_param & amp; Depth_1 - utm_source=distribute. Pc_relevant_t0. None - task - blog - BlogCommendFromMachineLearnPai2-1. Channel_param

I have uploaded a few XML, a great god help, grateful, grateful!

Below is UserMapper. The XML code  below is Spring - the MVC. XML code   PS: the User class is certainly exist, under reference I sent you a source of source code, there are instructions, but I just don't understand why it works

CodePudding user response:

Looked at as if no substantiation sqlSessionFactory this

CodePudding user response:


Put this, please try

CodePudding user response:

refer to the second floor liuyh1024 response:
& lt; Bean id="sqlSessionTemplate" & gt;

Try adding the
added, useless, but if I delete the type=". Com. Cn hnust. Pojo. User "and parameterType=". Com. Cn hnust. Pojo. User ", but no error is always 404

CodePudding user response:

Your package structure stick out and have a look

CodePudding user response:

You haven't configure this?

CodePudding user response:

reference th_php reply: 3/f
Quote: refer to the second floor liuyh1024 response:
& lt; Bean id="sqlSessionTemplate" & gt;

Try adding the
added, useless, but if I delete the type=". Com. Cn hnust. Pojo. User "and parameterType=". Com. Cn hnust. Pojo. User ", but no error is always 404


Send the package structure

CodePudding user response:

reference time is fleeting mo negative figure 5 floor response:
your package structure stick out and see
a source links, the article particularly detailed, convenient than my map at https://blog.csdn.net/u014717572/article/details/80186939? Utm_medium=distribute. Pc_relevant_t0. None - task - blog - BlogCommendFromMachineLearnPai2-1. Channel_param & amp; Depth_1 - utm_source=distribute. Pc_relevant_t0. None - task - blog - BlogCommendFromMachineLearnPai2-1. Channel_param

CodePudding user response:

reference time is fleeting mo negative figure 5 floor response:
your package structure stick out and see
handsome boy you see if your side can build up, the database in the bottom

CodePudding user response:

refer to 6th floor water 233 response:
& lt; TypeAlias type="com. Cn. Hnust. Pojo. User" alias="User"/& gt;
You haven't configure this?
configuration well in which files
  • Related