본문 바로가기
반응형

springboot3

[springboot 게시판만들기] 2. Hello World 화면출력 testController 를 만들고 test.html 화면에 간단하게 "Hello world"를 출력해 보도록 하자. controller 폴더를 만들고, 그안에 TestController.java 를 생성. package com.jny.jboard.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class TestController { @RequestMapping(value = "/test") public String home(){ return "test.html"; } } src/main/res.. 2020. 6. 27.
[spring boot] Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. 오류 사황 *************************** APPLICATION FAILED TO START *************************** 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 class Action: Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. If you hav.. 2020. 6. 27.
[springboot 게시판만들기] 1. 프로젝트 생성 springboot, mybatis, sqlite, vue.js 를 사용해서 간단한 게시판을 만들어보자. 그 첫번째로 springboot 프로젝트 생성. springboot는 maven 기반으로 프로젝트를 만들면서, 생성과 동시에 몇가지 기본적인 라이브러리를 자동 생성하도록 설정할 수 있는데, spring web 과 mybatis를 선택 후 생성해 보았다. maven 을 통해 가져올 라이브러리를 설정하는 pom.xml 파일에 sqlite 관련 내용을 추가한다. org.xerial sqlite-jdbc 3.32.3 2020. 6. 26.
반응형