Cokes Blog
GitHub 포트폴리오
close
프로필 배경
프로필 로고

Cokes Blog

  • 분류 전체보기 (178)
    • 일상 (1)
    • 파이썬 (33)
    • Back-End (58)
      • JAVA (10)
      • Spring(Boot) (42)
      • NestJS (1)
      • Django, FastAPI (1)
      • PHP (4)
    • Front-End (15)
      • HTML-CSS (2)
      • JavaScript (4)
      • Vue.js (8)
      • TypeScript (0)
      • React (1)
    • DB (1)
    • 알고리즘, 코딩 문제풀기 (38)
    • DevOps (12)
      • Jenkins (5)
      • Docker-Kubernetes (3)
      • AWS (4)
    • Build tools (2)
      • Gradle-Maven (2)
    • Linux (3)
    • Git (2)
    • 자격증 (1)
    • 기타 (4)
    • 번외 Project (7)

    도커 nginx, spring boot 프로젝트 연동 배포 해보기

    docker pull nginxnginx 이미지 다운로드 docker run -d --name nginx-server -p 80:80 --restart nginxnginx 이미지 실행합니다. docker cp nginx-server:/etc/nginx/nginx.conf /home/dev/nginx/nginx.confdocker cp nginx-server:/etc/nginx/conf.d/default.conf /home/dev/nginx/conf.d/default.confnginx.conf, default.conf 파일 작성이 귀찮기 때문에 이미 만들어진 파일을 원하는 경로로 복사합니다. 저는 /home/dev/nginx/ 로 복사했습니다. docker stop nginx-serverdocker rm ..

    • format_list_bulleted DevOps/Docker-Kubernetes
    • · 2025. 3. 29.
    • textsms

    Hello, World! 홈 테스트 중 발생한 문제

    발생한 문제. mybatis 추가 한 후 mapper 를 찾을 수 없다는 오류@AutoConfigureMybatis 추가**@AutoConfigureMybatis**는 Spring Boot와 MyBatis를 통합하여 테스트를 수행할 때 MyBatis 관련 자동 구성을 활성화하는 데 사용되는 어노테이션입니다. 이 어노테이션은 일반적으로 @WebMvcTest 또는 다른 Spring Boot 테스트 어노테이션과 함께 사용되며, MyBatis의 SqlSessionFactory, SqlSessionTemplate, 그리고 Mapper 인터페이스를 테스트 컨텍스트에 로드할 수 있도록 설정합니다.@WebMvcTest(MainController.class)@AutoConfigureMybatis@ActiveProfile..

    • format_list_bulleted Back-End/Spring(Boot)
    • · 2025. 3. 20.
    • textsms

    Could not set unknown property 'mainClassName' for task ':bootJar' error

    bootJar { mainClassName = 'com.example.demo.DemoApplication'}mainClassName -> mainClass 로 변경Spring Boot 2.4 이상에서는 mainClassName이 deprecated되었고, 대신 mainClass를 사용합니다.bootJar { mainClass = 'com.example.demo.DemoApplication'}

    • format_list_bulleted Build tools/Gradle-Maven
    • · 2025. 3. 17.
    • textsms
    스프링부트 Mybatis boot-starter로 Mysql 연동하기

    스프링부트 Mybatis boot-starter로 Mysql 연동하기

    1. xml를 사용하지 않고 mybatis-spring-boot-starter를 사용하여 연동해보겠습니다. https://github.com/mybatis/spring-boot-starter/wiki/Quick-Start mybatis/spring-boot-starter MyBatis integration with Spring Boot. Contribute to mybatis/spring-boot-starter development by creating an account on GitHub. github.com 빠른 시작 방법을 알 수 있습니다. implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.0' runtimeOnly 'm..

    • format_list_bulleted Back-End/Spring(Boot)
    • · 2021. 7. 9.
    • textsms
    • navigate_before
    • 1
    • navigate_next
      Cokes Blog
      호두와 녹두
      반응형
      전체 카테고리
      • 분류 전체보기 (178)
        • 일상 (1)
        • 파이썬 (33)
        • Back-End (58)
          • JAVA (10)
          • Spring(Boot) (42)
          • NestJS (1)
          • Django, FastAPI (1)
          • PHP (4)
        • Front-End (15)
          • HTML-CSS (2)
          • JavaScript (4)
          • Vue.js (8)
          • TypeScript (0)
          • React (1)
        • DB (1)
        • 알고리즘, 코딩 문제풀기 (38)
        • DevOps (12)
          • Jenkins (5)
          • Docker-Kubernetes (3)
          • AWS (4)
        • Build tools (2)
          • Gradle-Maven (2)
        • Linux (3)
        • Git (2)
        • 자격증 (1)
        • 기타 (4)
        • 번외 Project (7)
      최근 글
      인기 글
      최근 댓글
      태그
      • #자바
      • #파이썬
      • #python
      • #Java
      • #문자열
      • #백준
      • #알고리즘
      • #코딩테스트
      • #코딩
      • #pyqt
      전체 방문자
      오늘
      어제
      전체
      Copyright © 쭈미로운 생활 All rights reserved.
      Designed by JJuum

      티스토리툴바