본문 바로가기
반응형

#repository3

Spring의 Bean 관련 annotation @Bean, @Component, @Configuration, @Service, @Controller, @Repository Spring의 Bean 관련 annotation @Bean, @Component, @Configuration, @Service, @Controller, @Repository 목차 1. annotation이란? java @ 2. Spring Bean과 @Bean 3. @Component 4. @Configuration, @Controller, @Service, @Repository 1. annotation이란? java @ annotation을 구글에서 검색해보면 뜻이 "주석" 이란 뜻으로 나옵니다. 그러나, 프로그래밍에서 일반적으로 쓰이는 주석과는 다릅니다. 무엇인가를 설명하기 위한 주석( /* */ 나 //)은 영어로는 comment(코멘트)라고 합니다. 자바에서의 annotation(어노테이션)은 주.. 2023. 5. 21.
mvn 빌드시 에러 해결방법 : Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to central (https://repo.maven.apache.org/maven2): Software caused connection abort: recv failed mvn 빌드시 에러 해결방법 : Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to central (https://repo.maven.apache.org/maven2): Software caused connection abort: recv failed 아래 명령어를 사용하여 maven build를 하였으나 에러가 발생하여 해결한 사례를 공유드리고자 합니다. mvn clean 에러메시지 발생했던 메시지는 아래와 같습니다. Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-pl.. 2023. 4. 23.
mvn 빌드시 에러 해결방법 : [ERROR] Failed to execute goal on project xxx: Could not resolve dependencies for project xxx: Could not find artifact com.xxx:yyy:jar:0.0.1 in xxx mvn 빌드시 에러 해결방법 : [ERROR] Failed to execute goal on project xxx: Could not resolve dependencies for project xxx: Could not find artifact com.xxx:yyy:jar:0.0.1 in xxx 아래 명령어를 사용하여 maven build를 하였으나 에러가 발생하여 해결한 사례를 공유드리고자 합니다. mvn clean package 에러 메시지 Could not find artifact라는 에러로, 아래와 같은 에러가 발생했었습니다. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAI.. 2023. 4. 20.
반응형