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.