Eclipse reports Class not found or Class not defined

Generally, this kind of error is not added to the classpath when the project is deployed.

I found that my build path->use library on the web project didn't work.

So the most direct way is to right-click "add to buildpah" on the jar package used under web-inf->lib.

Another method: It is also possible to modify the .classpath file in the project directory.

Guess you like

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