Compiler error “archive for required library could not be read” – Spring Tool Suite

Indeed IDEs often cache the local repository (Eclipse does something similar, and I have to relaunch Eclipse). One ugly maven behavior you might encounter is that if you declare a dependency before you actually install it, maven will create an empty version of the missing dependency (folder with metadata but no jar), and you will … Read more

tomcat server fails to start the server and application in STS [duplicate]

The jar file may be corrupt as a result of bad internet connection. Try removing the content of your C:\Users\[username]\.m2\repository folder. Then right click your project, select Maven, Update Project, check on Force Update of Snapshots/Releases. If you are sure only one Jar file has a problem, then you only need to delete its folder.

Maven2: Missing artifact but jars are in place

There are a few other options apart from Project->Clean, some of which are more along the lines of turning it off and on again. Try right-clicking on the project and selecting Maven->Update Project Configuration. Disable then re-enable dependency management (right-click Maven->Disable Dependency Management then Maven->Enable Dependency Management Close the project and reopen it. Check that … Read more