인프런 커뮤니티 질문&답변
@LogExecutionTime Annotation 작성 후 mvnw package 에러
작성
·
241
0
[ERROR] Failed to execute goal io.spring.javaformat:spring-javaformat-maven-plugin:0.0.25:validate (default) on project spring-petclinic: Formatting violations found in the following files:
[ERROR] * C:\Users\User\JavaProject\spring-petclinic\src\main\java\org\springframework\samples\petclinic\owner\LogAspect.java
[ERROR] * C:\Users\User\JavaProject\spring-petclinic\src\main\java\org\springframework\samples\petclinic\owner\LogExecutionTime.java
[ERROR] * C:\Users\User\JavaProject\spring-petclinic\src\main\java\org\springframework\samples\petclinic\owner\Owner.java
[ERROR] * C:\Users\User\JavaProject\spring-petclinic\src\main\java\org\springframework\samples\petclinic\owner\OwnerController.java
[ERROR] * C:\Users\User\JavaProject\spring-petclinic\src\main\java\org\springframework\samples\petclinic\owner\OwnerRepository.java
[ERROR] * C:\Users\User\JavaProject\spring-petclinic\src\main\java\org\springframework\samples\petclinic\proxy\Cash.java
[ERROR] * C:\Users\User\JavaProject\spring-petclinic\src\main\java\org\springframework\samples\petclinic\proxy\CreditCard.java
[ERROR] * C:\Users\User\JavaProject\spring-petclinic\src\main\java\org\springframework\samples\petclinic\proxy\Payment.java
[ERROR] * C:\Users\User\JavaProject\spring-petclinic\src\main\java\org\springframework\samples\petclinic\proxy\Store.java
[ERROR] * C:\Users\User\JavaProject\spring-petclinic\src\test\java\org\springframework\samples\petclinic\owner\OwnerControllerTests.java
[ERROR] * C:\Users\User\JavaProject\spring-petclinic\src\test\java\org\springframework\samples\petclinic\pay\StoreTest.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
어노테이션 작성후 css가 깨져서 다시 빌드하려고 mvnw package 명령어를 쳤는데 다음과 같은 에러가 뜨네요ㅜㅜ
퀴즈
흩어진 코드를 분리하기 위한 AOP(관점 지향 프로그래밍)가 해결하려는 근본적인 문제는 무엇일까요?
데이터베이스 접근 속도 저하
기능 변경 시 여러 곳의 코드 수정 필요
객체 간 상속 구조의 복잡성 증가
메모리 사용량의 비효율성
답변





