質問編集履歴
3
pom追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -100,8 +100,84 @@
|
|
100
100
|
|
101
101
|
}
|
102
102
|
|
103
|
-
|
103
|
+
pomです↓
|
104
|
-
課題に対してアプローチしたことを記載してください
|
105
104
|
|
105
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
106
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
107
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
108
|
+
<modelVersion>4.0.0</modelVersion>
|
109
|
+
|
110
|
+
<groupId>mrs</groupId>
|
111
|
+
<artifactId>mrs</artifactId>
|
112
|
+
<version>0.0.1-SNAPSHOT</version>
|
113
|
+
<packaging>jar</packaging>
|
114
|
+
|
115
|
+
<name>mrs</name>
|
116
|
+
<description>Demo project for Spring Boot</description>
|
117
|
+
|
118
|
+
<parent>
|
119
|
+
<groupId>org.springframework.boot</groupId>
|
120
|
+
<artifactId>spring-boot-starter-parent</artifactId>
|
121
|
+
<version>1.4.3.RELEASE</version>
|
122
|
+
<relativePath/> <!-- lookup parent from repository -->
|
123
|
+
</parent>
|
124
|
+
|
125
|
+
<properties>
|
126
|
+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
127
|
+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
128
|
+
<java.version>1.8</java.version>
|
129
|
+
</properties>
|
130
|
+
|
131
|
+
<dependencies>
|
132
|
+
<dependency>
|
133
|
+
<groupId>org.springframework</groupId>
|
134
|
+
<artifactId>spring-web</artifactId>
|
135
|
+
</dependency>
|
136
|
+
<dependency>
|
137
|
+
<groupId>org.springframework.boot</groupId>
|
138
|
+
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
139
|
+
</dependency>
|
140
|
+
|
141
|
+
<dependency>
|
142
|
+
<groupId>mysql</groupId>
|
143
|
+
<artifactId>mysql-connector-java</artifactId>
|
144
|
+
<scope>runtime</scope>
|
145
|
+
</dependency>
|
146
|
+
<dependency>
|
147
|
+
<groupId>org.springframework.boot</groupId>
|
148
|
+
<artifactId>spring-boot-starter-test</artifactId>
|
149
|
+
<scope>test</scope>
|
150
|
+
</dependency>
|
151
|
+
<dependency>
|
152
|
+
<groupId>org.thymeleaf.extras</groupId>
|
153
|
+
<artifactId>thymeleaf-extras-java8time</artifactId>
|
154
|
+
<version>2.1.0.RELEASE</version>
|
155
|
+
</dependency>
|
156
|
+
<dependency>
|
157
|
+
<groupId>org.springframework.boot</groupId>
|
158
|
+
<artifactId>spring-boot-starter-data-solr</artifactId>
|
159
|
+
</dependency>
|
160
|
+
<dependency>
|
161
|
+
<groupId>org.springframework.boot</groupId>
|
162
|
+
<artifactId>spring-boot-starter-web</artifactId>
|
163
|
+
</dependency>
|
164
|
+
|
165
|
+
</dependencies>
|
166
|
+
|
167
|
+
<build>
|
168
|
+
<plugins>
|
169
|
+
<plugin>
|
170
|
+
<groupId>org.springframework.boot</groupId>
|
171
|
+
<artifactId>spring-boot-maven-plugin</artifactId>
|
172
|
+
</plugin>
|
173
|
+
</plugins>
|
174
|
+
</build>
|
175
|
+
|
176
|
+
|
177
|
+
</project>
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
106
182
|
###補足情報(言語/FW/ツール等のバージョンなど)
|
107
183
|
より詳細な情報
|
2
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,5 +1,7 @@
|
|
1
|
-

|
1
|
+

|
2
|
-
|
2
|
+
※フォルダ構成です。
|
3
|
+
|
4
|
+
|
3
5
|
springをApplicationのメインメッソッドで実行したのですがhttp://localhost:8080/roomsにアクセスしても404が返ってくるだけです。
|
4
6
|
|
5
7
|
なぜでしょうか。
|
1
フォルダ構成追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
###前提・実現したいこと
|
1
|
+
###前提・実現したいこと
|
2
2
|
ここに質問したいことを詳細に書いてください
|
3
3
|
springをApplicationのメインメッソッドで実行したのですがhttp://localhost:8080/roomsにアクセスしても404が返ってくるだけです。
|
4
4
|
|