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

后端 未结 23 1760
感情败类
感情败类 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:33

    In my case I tried all the tips suggested but the error remained. I solved changing with a more recent version and writing that in the pom.xml. After this everything is now ok.

    0 讨论(0)
  • 2020-12-01 01:33
    Delete your C:\Users\PC\.m2** folder
    and update maven project 
    
    0 讨论(0)
  • 2020-12-01 01:36

    Below Steps resolved my issue.

    1. Go to ./m2/repository folder.

    2. Go to respective archive error folder.

    3. Verify any zip file is exist.

    4. delete error name folder.

    5. Now come to Eclipse Project - Right Click - Maven - > Update Project.

    Above trick works for me.

    0 讨论(0)
  • 2020-12-01 01:37

    This worked for me.

    1. Close Eclipse
    2. Delete ./m2/repository
    3. Open Eclipse, it will automatically download all the jars
    4. If still problem remains, then right click project > Maven > Update Project... > Check 'Force Update of Snapshots/Releases'
    0 讨论(0)
  • 2020-12-01 01:37

    I face with the same issue. I deleted the local repository and relaunched the ID. It worked fine .

    0 讨论(0)
  • 2020-12-01 01:40

    In my case I had to manually delete all the files in .m2\repository folder and then open command prompt and run mvn -install command in my project directory.

    0 讨论(0)
提交回复
热议问题