Various configuration files (xml, ftl, properties, yml...) cannot find not found exception

Two kinds of errors need to be distinguished

The first type of resource has not been packaged, check whether the target has this resource confirmation, for example, the maven project pom may need to configure the packaging plug-in

The second path is wrong, add classpath: according to the actual path, classpath: refers to the resource path.

Guess you like

Origin blog.csdn.net/qq_39879542/article/details/116573109