CodePudding user response:
WEB - INF/lib directory has the jarsCodePudding user response:
I met this situation before, you in the web. Ctrl + left mouse button in the XML org. Springframework. Web. Context. The ContextLoaderListener can enter ContextLoaderListener class - this class, can it shows that there is nothing wrong with the path of the class, if use tomcat, delete to redeploy, after finally to recompile, after the completion of the compilation into tomcat deployment project folder to view the corresponding project classes folder have compiled your project documents, all have, try again, should be no problemCodePudding user response:
If there is a jar package name is submitted to the Java. Lang, a ClassNotFoundException error, and you are in the calling service or dao layer interface, it is possible that your interface call write wrong, lead to the debug can't find the corresponding path, view the interface name or format have write wrongCodePudding user response:
If the Eclipse, see project - "attribute -" Deployement Assembly set below here, did the source directory containing your jar's package directory,If set no problem, it would clear up the server, redeployment to try again
CodePudding user response:
I have added webinf directory in the idea is still an error, try a variety of fruit, I finally in the tomcat lib directory to add the jar package was no problem