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

后端 未结 23 1909
感情败类
感情败类 2020-12-01 01:27

I am starting to configure my development environment and I am using Spring Tool Suite 2.8.1 along with m2E 1.01.

As far as I can tell, since this is a Maven Project

23条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-01 01:54

    In case of VSCode, follow the below steps:

    1. Navigate to the respective folder that contains the corrupted jar
    2. Delete just the jar
    3. mvn clean
    4. mvn compile

    That worked for me.

提交回复
热议问题