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)

    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
    git action CI/CD, deploy.yml 작성해보기

    git action CI/CD, deploy.yml 작성해보기

    경로프로젝트 .github/workflows/deploy.yml name: Docker Build and Deploy via SSHon: push: branches: - main # 배포할 브랜치 지정jobs: build-and-push: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Set up JDK 17 uses: actions/setup-java@v4 with: java-version: '17' distribution: 'temurin' - name:..

    • format_list_bulleted Git
    • · 2025. 3. 17.
    • 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
    18108번 문제 1998년생인 내가 태국에서는 2541년생?! (파이썬)

    18108번 문제 1998년생인 내가 태국에서는 2541년생?! (파이썬)

    https://www.acmicpc.net/problem/18108  a = input()print(int(a) - 543) import sysa = sys.stdin.readline()print(int(a) - 543)

    • format_list_bulleted 알고리즘, 코딩 문제풀기
    • · 2025. 3. 11.
    • textsms

    aws s3 오브젝트 스토리지 http 오류

    자바 스프링 프로젝트에서 오브젝트 스토리지에 이미지와 파일을 올리는데 해당 endpoint http 접속 오류가 발생했다.이상한건 로컬에선 정상인데, 운영서버에 올리면 오류가 발생함.request processing faild; nested exception is com.amazonaws.SdkClientException; Unable to execute HTTP reqeust: endpoint 해당 오류 내용이 발생. nslookup endpoint로 해당 도메인의 아이피를 확인 sudo nano /etc/hosts192.0.2.1 endpoint등록후 저장해준다. 기존에 정상동작 했었는데, 어느날 부터 갑자기... http 오류가 발생한다면 호스트 등록을 설정해준다. 버전 변경한게 없는데 이상하네...

    • format_list_bulleted Back-End/JAVA
    • · 2024. 11. 13.
    • textsms

    장고, 모델에서 db_table 외부 변경해보기

    class User(models.Model): id = models.AutoField(primary_key=True) name = models.CharField(max_length=20, blank=True, null=True) age = models.IntegerField class Meta: managed = False db_table = 'users'보통은 Meta를 사용해 db_table 명을 지정하게 됩니다.고정적으로 해당 모델은 하나의 DB를 사용한다 했을 때 사용합니다. 저는 이번에 날짜나 숫자에 따른 DB 테이블을 적용하기 위한 방법으로 사용해보았습니다.class MarketExportResult(models.Model): id = models.Au..

    • format_list_bulleted 파이썬
    • · 2024. 5. 3.
    • textsms

    pandas dataframe 이미지 테이블 export시 style로 멀티 인덱스 보이지 않게 하기

    https://pandas.pydata.org/docs/reference/api/pandas.io.formats.style.Styler.hide.html pandas.io.formats.style.Styler.hide — pandas 2.1.4 documentation Warning This method only works with the output methods to_html, to_string and to_latex. Other output methods, including to_excel, ignore this hiding method and will display all data. This method has multiple functionality depending upon the combin..

    • format_list_bulleted 파이썬
    • · 2024. 1. 4.
    • textsms

    파이썬 APScheduler 실행해보기

    https://velog.io/@jw3418/python%EC%9C%BC%EB%A1%9C-daemon-scheduler-%EA%B5%AC%ED%98%84 python으로 daemon scheduler 구현 데이터 자동 추가를 위해 linux crontab을 이용하려 했는데, 실행하고자 하는 crawling.py 파일에 외부 라이브러리가 많아서 그런지 (crontab 파일에 따로 library path를 추가해야 할듯?) crontab이 매달 실행 velog.io 참고 블로그 def job_function(): subprocess.run(args=[sys.executable, "./main.py"]) sched = BackgroundScheduler(timezone='Asia/Seoul') # interv..

    • format_list_bulleted 파이썬
    • · 2023. 12. 13.
    • textsms
    • navigate_before
    • 1
    • 2
    • 3
    • 4
    • 5
    • ···
    • 23
    • 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)
      최근 글
      인기 글
      최근 댓글
      태그
      • #pyqt
      • #코딩테스트
      • #자바
      • #알고리즘
      • #문자열
      • #python
      • #백준
      • #코딩
      • #파이썬
      • #Java
      전체 방문자
      오늘
      어제
      전체
      Copyright © 쭈미로운 생활 All rights reserved.
      Designed by JJuum

      티스토리툴바