springboot

안녕하세요. delay100입니다.오늘은 Spring GET요청에 대해서 Postman에서 확인하는 방법을 적어보았습니다.1. SpringBoot 프로젝트 생성먼저, start.spring.io에서 아래와 같은 설정으로 프로젝트를 만들어줍니다.프로젝트 이름은 굳이 바꾸지 않아도 되지만, Add Dependencies를 눌러서 Lombok, Spring Web을 추가해주어야 합니다.https://start.spring.io/GENERATE를 하게 되면, 압축된 SpringBoot 폴더가 생성됩니다. 원하는 위치에 압축을 풀어줍니다.그 후 Intellij에서 해당 프로젝트를 열기해줍니다.프로젝트를 열다가 아래와 같은 경고문이 뜬다면, 네모박스에 체크를 해주고 Trust Project를 클릭해줍니다.Intel..
· Study/ERROR
에러Description:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.Reason: Failed to determine a suitable driver classstart.spring.io에서 dependencies에서 mariaDB를 추가한 후 아무런 설정 없이 springboot 프로젝트를 실행시키면 위와 같은 에러가 발생합니다. 해결 방안1줄 요약: SpringProject에 DB를 연결해줍니다.연결부분만 보고 싶으신 분들은 3번부터 봐주세요!1. DBeaver로 새 데이터베이스 연결하기(DBeaver에 MariaDB 연결)먼저 DBeaver..
delay100
'springboot' 태그의 글 목록 (2 Page)