작성
·
789
1
윈도우로 따라하고 있는데
mvnw package 명령어를 치면 아래와 같이 빌드 오류가 뜨네요.. 뭐가 문제인지 잘 모르겠습니다..
C:\Users\82104\IdeaProjects\spring-petclinic-master>mvnw package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------< org.springframework.samples:spring-petclinic >------------
[INFO] Building petclinic 2.2.0.BUILD-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- spring-javaformat-maven-plugin:0.0.17:validate (default) @ spring-petclinic ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.214 s
[INFO] Finished at: 2020-01-24T21:10:07+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.spring.javaformat:spring-javaformat-maven-plugin:0.0.17:validate (default) on project spring-petclinic: Formatting violations found in the following files:
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\model\BaseEntity.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\model\NamedEntity.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\model\package-info.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\model\Person.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\owner\Owner.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\owner\OwnerController.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\owner\OwnerRepository.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\owner\Pet.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\owner\PetController.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\owner\PetRepository.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\owner\PetType.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\owner\PetTypeFormatter.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\owner\PetValidator.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\owner\VisitController.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\PetClinicApplication.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\system\CacheConfiguration.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\system\CrashController.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\system\WelcomeController.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\vet\Specialty.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\vet\Vet.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\vet\VetController.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\vet\VetRepository.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\vet\Vets.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\visit\Visit.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\main\java\org\springframework\samples\petclinic\visit\VisitRepository.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\test\java\org\springframework\samples\petclinic\model\ValidatorTests.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\test\java\org\springframework\samples\petclinic\owner\OwnerControllerTests.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\test\java\org\springframework\samples\petclinic\owner\PetControllerTests.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\test\java\org\springframework\samples\petclinic\owner\PetTypeFormatterTests.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\test\java\org\springframework\samples\petclinic\owner\VisitControllerTests.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\test\java\org\springframework\samples\petclinic\PetclinicIntegrationTests.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\test\java\org\springframework\samples\petclinic\service\ClinicServiceTests.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\test\java\org\springframework\samples\petclinic\service\EntityUtils.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\test\java\org\springframework\samples\petclinic\system\CrashControllerTests.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\test\java\org\springframework\samples\petclinic\vet\VetControllerTests.java
[ERROR] * C:\Users\82104\IdeaProjects\spring-petclinic-master\src\test\java\org\springframework\samples\petclinic\vet\VetTests.java
[ERROR]
[ERROR] Run `spring-javaformat:apply` to fix.
[ERROR] -> [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/MojoFailureException
답변 3
6
2
0