I thought I'd make a system, so I'll make something. I want to study Java soon, so the language is Java. Framework is Spring and Doma that I have never used. Also, DB was H2DB because it was troublesome to prepare Orale.
MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports) Eclipse(Pleiades All in One 4.6.3.v20170422) JDK 8u131 Spring Boot 1.5.4(Maven) Doma2 2.12.0 H2DB 1.4.195
Create a project template by referring to here
Maven Project, Java, Spring Boot 1.5.4Web, JDBC, H2 for Dependencies and Generate Project
Then (Artifact) .zip (in this case" create-design-documents.zip ") will be downloaded.Import → Maven → Existing Maven Project from Eclipse and Nextpom.xml in the project and completedependencies tag of pom.xmlpom.xml
<!-- https://mvnrepository.com/artifact/org.seasar.doma.boot/doma-spring-boot-starter -->
<dependency>
    <groupId>org.seasar.doma.boot</groupId>
    <artifactId>doma-spring-boot-starter</artifactId>
    <version>1.1.0</version>
</dependency>
This completes the project template.
Next time, I will create Entity and Dao and display them on the screen.
Referenced URL Use Spring Boot + Doma2
Recommended Posts