갑자기 build error가 나서 질문 드립니다.
3552
작성한 질문수 12
"C:\Program Files\Java\jdk-11.0.15.1\bin\java.exe" -Dmaven.multiModuleProjectDirectory=C:\Users\sspure123\Desktop\jpa-basic "-Dmaven.home=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.1.3\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.1.3\plugins\maven\lib\maven3\bin\m2.conf" "-Dmaven.ext.class.path=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.1.3\plugins\maven\lib\maven-event-listener.jar" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.1.3\lib\idea_rt.jar=64655:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.1.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.1.3\plugins\maven\lib\maven3\boot\plexus-classworlds-2.6.0.jar;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.1.3\plugins\maven\lib\maven3\boot\plexus-classworlds.license" org.codehaus.classworlds.Launcher -Didea.version=2022.1.3
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for jpa-basic:ex1-hello-jpa:jar:1.0.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 13, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.180 s
[INFO] Finished at: 2022-07-28T22:29:49+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException
Process finished with exit code 1
구글링을 통해 검색하여, maven 문제라는 것을 알았고, pom.xml을 통해 다음과 같은 코드를 추가하였는데도 문제가 해결되지 않았습니다ㅠㅠ
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
어떻게 해결해야 할까요?
답변 1
리뉴얼 시기
0
79
2
변경감지(더티체킹) 이후 플러시할 경우의 쿼리
0
76
1
단일 테이블 시 null 값과 연관관계 필요성 질문
0
70
1
벌크연산에서 member.getAge 호출 시 영속성 컨텍스트에서 데이터를 가져오는건가요?
0
105
2
inheritance startegy 선택시 고려사항
0
75
1
Entity 동등성 비교
0
70
1
실무 조언 관련 질문입니다.
0
100
1
H2데이터베이스 파일 생성
0
113
2
서브쿼리 강의에서 ALL 예시 관련 질문드립니다.
1
102
2
수정또는 삭제시 영속성 엔티티에 값이 무조건 있어야 하나요?
0
87
1
JPQL 메소드와 락
0
88
1
Delivery @OneToOne
0
104
1
17강 4~5분대 테이블 값 조회가 안됩니다.
0
153
2
UnsupportedOperationException 발생
0
168
3
H2 Database 연결이 안됩니다.
0
134
2
연관관계 매핑 질문드립니다.
0
130
2
h2데이터베이스 실행오류
0
148
2
persistence.xml
0
160
2
양방향 연관관계에서 연관관계의 주인(mappedBy)을 왜 꼭 정해야 하나요?
0
125
1
영속성 컨텍스트
0
104
1
JPA 프록시
0
141
1
Native Query와 MyBatis
0
117
1
영속성 컨텍스트는 어떤 메모리에 저장되는건가요?
0
130
1
임베디드 타입 예시 코드 관련 질문
0
173
3





