"ClassNotFoundException" is displayed when tomcat is started in eclipse and cannot be started
As the title says, when I started tomcat in eclipse, "ClassNotFoundException" was displayed and it did not start
I got stuck for about half a day, so make a note.
● Recreate maven local repository
- Basically, if there is no repository folder in the .m2 folder, it will be recreated when the project is updated.
It is OK if you delete the repository folder once by the following procedure.
- Close Eclipse. (Because if it is left running, the following steps may fail while grabbing the files in the local repository) li>
Move to the
- .m2 folder. (Usually, it should be under the "C: / Users / {UserName} /" folder.) Li>
- Delete the repository folder. (You can just move it to another location or rename it) li>
- Start Eclipse. li>
- Alt + F5 (Maven Update Project. * It will take some time because the above repository folder will be recreated and the necessary jar files will be downloaded) li>
- Start Tomcat. li>