applicationContext.xml file configuration

When configuring the property attribute, be sure to note that the value of name is the same as the value of the attribute in the class, otherwise an error will occur. Today, when I accidentally wrote mappingDirectoryLocations, an s was missing, and then an error was reported all the time.

It's really a mistake and hatred for the ages. It is recommended to copy the attribute name directly from the class in the future, so that it is foolproof.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325034465&siteId=291194637