-
[Spring] Maven 프로젝트 Intellij archetype안나오는 문제개발/Spring 2021. 11. 16. 15:23
현재 Intellij Community 버젼을 사용중에 있다. maven에 대해서 공부하고 Maven을 이용한 프로젝트를 만들던 중 maven 프로젝트를 클릭하면 archetype에 아무런 선택지가 없는 것을 확인하고 관련한 문제를 stackoverflow에서 찾아 혹여나 몰라 정리해 둔다.
How to use maven archetype in intellij idea, such as spring-mvc-quickstart-archetype?
I'm a newbie of maven. These day, I want to create a spring mvc project, so I find spring-mvc-quickstart-archetype, but how to use it in Intellij IDEA?
stackoverflow.com
1. 먼저 Maven Archetype Catalogs, Plugin을 설치.
2. File -> New -> Project
3. Maven 선택 후 Create from archetype을 체크하고 옆의 Add arecetype 을 클릭
GroupId: org.springframework.boot ArtifactId: spring-boot-sample-simple-archetype Version: 1.0.2.RELEASE Repository: http://central.maven.org/maven2/
그리고는 위의 내용을 채워 널은 후 확인을 누르면 archetype이 나오게 된다.
'개발 > Spring' 카테고리의 다른 글
[Spring] 정적자원 맵핑 (0) 2021.11.13 [Hibernate] Lazy모드 신기한점 (0) 2021.11.09 [Hibernate] One-to-many, 외래키가 null (0) 2021.11.09 [Spring-hibernate] Cascade 종류 (0) 2021.11.06 [Spring-Hibernate] cretaeQuery, is not mapped 에러 (0) 2021.11.06