이클립스로 스프링 프로젝트를 진행하려는데 spring을 설치할 수가 없었다.
에러 내용은 아래와 같았다.
Cannot complete the install because one or more required items could not be found.
Software being installed: Spring IDE Integration, Flex and Web Services Extension (optional) 3.9.22.202204280911-RELEASE (org.springframework.ide.eclipse.integration.feature.feature.group 3.9.22.202204280911-RELEASE)
Missing requirement: Spring IDE Configuration Graphical Editing 3.9.22.202204280911-RELEASE (org.springframework.ide.eclipse.config.graph 3.9.22.202204280911-RELEASE) requires 'osgi.bundle; org.eclipse.mylyn.commons.ui [3.7.0,4.0.0)' but it could not be found
Cannot satisfy dependency:
From: Spring IDE Core (required) 3.9.22.202204280911-RELEASE (org.springframework.ide.eclipse.feature.feature.group 3.9.22.202204280911-RELEASE)
To: org.eclipse.equinox.p2.iu; org.springframework.ide.eclipse.config.graph [3.9.22.202204280911-RELEASE,3.9.22.202204280911-RELEASE]
Cannot satisfy dependency:
From: Spring IDE Integration, Flex and Web Services Extension (optional) 3.9.22.202204280911-RELEASE (org.springframework.ide.eclipse.integration.feature.feature.group 3.9.22.202204280911-RELEASE)
To: org.eclipse.equinox.p2.iu; org.springframework.ide.eclipse.feature.feature.group 0.0.0
정말 누가 봐도 읽기 싫게 생겼고 번역을 돌려도 제대로 나오지를 않았다.
그치만 우리는 개발자이기 때문에 해결해야한다.
requires 'osgi.bundle; org.eclipse.mylyn.commons.ui [3.7.0,4.0.0)' but it could not be found
근데 딱 보다보니 저렇게 require로 뭐가 없다 필요하다고 친절하게 말해주는 부분을 발견하게 되었다.
난독증은 아니었는데 저렇게 보니까 정말 보기 힘들었다.
저 플러그인이 없다는 것을 확인했으니 다운로드해주기만 하면 해결될 거라 생각했다.
이클립스 공식 사이트에서 Projects를 클릭해서 mylyn을 검색해보았다.
https://www.eclipse.org/mylyn/downloads/
Mylyn Downloads | The Eclipse Foundation
The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 415 open source projects, including runtimes, tools and frameworks.
www.eclipse.org
여러개가 나오지만 우리는 commons가 들어간게 필요했으므로 3번째거를 다운로드를 한다.
Release랑 Snapshot 버전이 있는데 이거는 당연히 Release로 해야한다.
http://download.eclipse.org/mylyn/releases/latest
위의 링크를 복사해서
위와 같이 검색하면 플러그인들이 나오는데 모두 선택하고 다운로드 받고 restart now로 플러그인 적용까지.
그리고 다시 marketplace에서 sts3를 검색하고 다운로드해주면 정상적으로 다운로드가 된다.