Giter VIP home page Giter VIP logo

springboot3-sutdy-carlist's Introduction

BE Study : springboot3 + gradle

car list

#01 - application 개요

#02 - 배포 중 trouble shooting

Before : 원래 생각한 내용

  1. EC2 t2 인스턴스 생성
  2. 설치
    • sudo yum -y install git
    • sudo yum -y install [jdk 맞는 버전으로]
  3. gradlew로 build
  4. java -jar [artifacts]

After : 실제로 막히는 부분

  1. please set 'javax.persistence.jdbc.url', 'hibernate.connection.url', or 'hibernate.dialect' 에러 발생
  2. $ ./gradlew build 에서 테스트를 통과 못하는 경우
  3. 포트가 이미 점유되어 실행 실패하는 경우

DO : 미봉책

  1. application.properties 에 코드 추가
    spring.jpa.properties.hibernate.dialect= org.hibernate.dialect.MySQLDialect
  2. 테스트 건너뛰고 빌드하기
$ ./gradlew build -x test
  1. 포트 찾아내서 kill 하기
$ lsof -i:8080 </br>
$ kill -9 $(ps -elf | grep [pid]8080)

Todo : 앞으로 할 일

  • spring security 이용한 JWT 로그인
  • oracle cloud DB 접합하기
  • cloudFront와 함께 CORS 해결하기

springboot3-sutdy-carlist's People

Contributors

vz4repo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.