Web240 [springboot] 서버 시작시 Error creating bean with name '***' defined in class path resource 해결법 Error creating bean with name 'reactiveMongoDatabaseFactory' defined in class path resource org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reactiveMongoDatabaseFactory' defined in class path resource [org/springframework/boot/autoconfigure/data/mongo/MongoReactiveDataAutoConfiguration.class]: Post-processing of merged bean definition failed; nested except.. Web/SpringBoot 2019. 8. 28. [spring] produces 반환하는 content-type 을 지정. 생략하면 어느타입 (*/*)이나 지원을 의미 예) text/plain 으로 produces를 정의하면 해당요청으로만 가능 이걸로 오버로드가 가능함 매핑 된 요청의 생성 가능한 미디어 유형으로 기본 매핑이 좁아집니다. 형식은 단일 미디어 유형 또는 일련의 미디어 유형이며, 수락이 이러한 미디어 유형 중 하나와 일치하는 경우에만 요청이 매핑됩니다. 3. @RequestMapping 이 사용하는 속성 이름 타입 설명 value String[] URL 값으로 매핑 조건을 부여 (default) method RequetMethod[] HTTP Request 메소드 값을 매핑 조건으로 부여 사용 가능한 메소드는 GET, POST, HEAD, OPTIONS, PUT, DEL.. Web/SpringBoot 2019. 8. 13. Jersey: A message body writer for Java Class and MIME mediatype application/json was not found Jersey: A message body writer for Java Class and MIME mediatype application/json was not found Jersey: A message body writer for Java Class and MIME mediatype application/json was not found after trying to figure out what's my problem I finally decided to ask you how to solve my problem. I've seen different people with the same problem and I tried all the things they were adviced to d... stackov.. Web/SpringBoot 2019. 8. 1. 스프링 <context:component-scan> 분석 http://thswave.github.io/spring/2015/02/02/spring-mvc-annotaion.html Web/스프링 2019. 5. 7. Mybatis Java Configuration for springboot ( mapper 사용 안하고) https://m.blog.naver.com/PostView.nhn?blogId=moonv11&logNo=220450831876&proxyReferer=https%3A%2F%2Fwww.google.com%2F Mybatis Java Configuration 하도 삽질을 해서 정리해보았다. 굵은 글씨 부분에서 고생을 하였으니 염두하면서 보자. package com.moonv... blog.naver.com http://longbe00.blogspot.com/2015/03/mybatis-java-config.html Mybatis java config 설정 MyBatisContext.java - mapper 스캔처리 - SqlSessionTemplate 설정 - 기타 설정 처리 package com.exam.. Web/SpringBoot 2019. 4. 10. Access a File from the Classpath in a Spring Application Access a File from the Classpath in a Spring Application https://www.baeldung.com/spring-classpath-file-access Access a File from the Classpath using Spring | Baeldung Learn how to easily open and read a file on the classpath using Spring's Resource API www.baeldung.com I just announced the new Learn Spring course, focused on the fundamentals of Spring 5 and Spring Boot 2: >> CHECK OUT THE COURS.. Web/SpringBoot 2019. 4. 10. Spring Boot - Apache Kafka 카프카 연동 https://www.tutorialspoint.com/spring_boot/spring_boot_apache_kafka.htm Spring Boot Apache Kafka Spring Boot - Apache Kafka Advertisements Apache Kafka is an open source project used to publish and subscribe the messages based on the fault-tolerant messaging system. It is fast, scalable and distributed by design. If you are a beginner to Kafka, or wan www.tutorialspoint.com 목표 : 카프카 configuratio.. Web/SpringBoot 2019. 3. 29. [ORM] ORM이란? JPA 설명 ORM을 이용하기 위해서는 Object modeling과 Relational modeling, 두 Modeling의 차이점을 이해해야만 한다. Object ModelingObject Modeling은 OOP를 기반으로 생성된 시스템을 표현한다.기본 개념Identity, State, Behavior, Encapsulation높은 레벨의 개념Type, Associations, Class, Inheritance Relational ModelingRelational Modeling은 서술어와 비슷한 truth statement로 정보를 표현한다.기본 개념Relation, Attribute, Domain, Tuple, Attribute Value( attribute value는 각각의 tuple에 포함된 attr.. Web/스프링 2019. 3. 26. [mybatis] 다중 Database Setting 목표 - springboot , gradle , mybatis 를 다중 db 클라이언트를 사용 [문제] 1. springboot , mybatis는 기본적으로 mapper 연동이 들어감. 기존 sqlsession 과 방식이 다름. 기존 소스때문에 mapper 연동하는것 말고 기존 mybatis 사용방식으로 사용해야함. 근데 springboot는 xml 방식이 아니라서 다름. 2. 아래 문서대로 따라하면 application.properties 에서 설정 못한다. 자바 소스로 설정해야함. 3. 다중으로 바꾸면서 소스로 바꿨더니 hikariCP 에러 나온다. 4. 설정파일이 안먹어서, alias를 xml로 안하고 어떻게 처리할지 몰랏음. [해결]1. 아래 복붙한 문서대로 일단 따라함.그럼 동작은 가능하나 ... Web/SpringBoot 2019. 3. 21. Spring @Qualifier isn't working without @Primary [duplicate] https://stackoverflow.com/questions/45910669/spring-qualifier-isnt-working-without-primary/45910738 https://stackoverflow.com/questions/39173982/what-is-a-nosuchbeandefinitionexception-and-how-do-i-fix-it Web/SpringBoot 2019. 3. 19. Read properties file outside JAR file https://stackoverflow.com/questions/8775303/read-properties-file-outside-jar-file Web/SpringBoot 2019. 3. 15. Spring boot Actuator를 이용하여 스프링 애플리케이션 정보 모니터링 하기 (java application state/performance check) https://jeong-pro.tistory.com/160 https://supawer0728.github.io/2018/05/12/spring-actuator/ https://stackoverflow.com/questions/35517713/unable-to-access-spring-boot-actuator-actuator-endpoint Web/SpringBoot 2019. 3. 15. 이전 1 ··· 3 4 5 6 7 8 9 ··· 20 다음