質問編集履歴

3

表題をわかりやすくしました。

2020/03/14 12:42

投稿

Ayaka_2020
Ayaka_2020

スコア6

test CHANGED
@@ -1 +1 @@
1
- Path must include project and resource nameを解決したい
1
+ Spring Boot mavenビルドにて「Path must include project and resource name〜」を解決したい
test CHANGED
File without changes

2

上記のpom.xml中の<parent>にエラー印〜の部分に、具体的なリンク先を追記しました(Jump to difinition in parent POM)

2020/03/14 12:42

投稿

Ayaka_2020
Ayaka_2020

スコア6

test CHANGED
File without changes
test CHANGED
@@ -260,7 +260,7 @@
260
260
 
261
261
  ▼上記のpom.xml中の<parent>にエラー印のアンダーラインが引かれており、
262
262
 
263
- その中に記載された該当のファイルのソースが下記になります。
263
+ その中に記載された該当のファイルのソース(Jump to difinition in parent POM)が下記になります。
264
264
 
265
265
  ```
266
266
 

1

pom.xmlのソースを全て記載しました。

2020/03/14 10:32

投稿

Ayaka_2020
Ayaka_2020

スコア6

test CHANGED
File without changes
test CHANGED
@@ -46,45 +46,7 @@
46
46
 
47
47
  at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.lambda$1(MavenBuilder.java:114)
48
48
 
49
- at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:179)
50
-
51
- at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:114)
52
-
53
- at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.lambda$0(MavenBuilder.java:105)
54
-
55
- at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:179)
56
-
57
- at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:153)
58
-
59
- at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:101)
60
-
61
- at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.execute(MavenBuilder.java:88)
62
-
63
- at org.eclipse.m2e.core.internal.builder.MavenBuilder.build(MavenBuilder.java:197)
64
-
65
- at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:833)
66
-
67
- at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
68
-
69
- at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220)
70
-
71
- at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263)
72
-
73
- at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:316)
74
-
75
- at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
76
-
77
- at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:319)
78
-
79
- at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:371)
80
-
81
- at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:392)
82
-
83
- at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:154)
84
-
85
- at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:244)
86
-
87
- at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
49
+ 〜以下省略〜
88
50
 
89
51
 
90
52
 
@@ -134,6 +96,164 @@
134
96
 
135
97
  </properties>
136
98
 
99
+      <dependencies>
100
+
101
+ <dependency>
102
+
103
+ <groupId>org.springframework.boot</groupId>
104
+
105
+ <artifactId>spring-boot-starter-data-jpa</artifactId>
106
+
107
+ </dependency>
108
+
109
+ <dependency>
110
+
111
+ <groupId>org.springframework.boot</groupId>
112
+
113
+ <artifactId>spring-boot-starter-jersey</artifactId>
114
+
115
+ </dependency>
116
+
117
+ <dependency>
118
+
119
+ <groupId>org.springframework.boot</groupId>
120
+
121
+ <artifactId>spring-boot-starter-security</artifactId>
122
+
123
+ </dependency>
124
+
125
+ <dependency>
126
+
127
+ <groupId>org.springframework.boot</groupId>
128
+
129
+ <artifactId>spring-boot-starter-thymeleaf</artifactId>
130
+
131
+ </dependency>
132
+
133
+ <dependency>
134
+
135
+ <groupId>org.springframework.boot</groupId>
136
+
137
+ <artifactId>spring-boot-starter-web</artifactId>
138
+
139
+ </dependency>
140
+
141
+ <dependency>
142
+
143
+ <groupId>org.springframework.boot</groupId>
144
+
145
+ <artifactId>spring-boot-starter-web-services</artifactId>
146
+
147
+ </dependency>
148
+
149
+ <dependency>
150
+
151
+ <groupId>org.springframework.boot</groupId>
152
+
153
+ <artifactId>spring-boot-starter-webflux</artifactId>
154
+
155
+ </dependency>
156
+
157
+ <dependency>
158
+
159
+ <groupId>com.vaadin</groupId>
160
+
161
+ <artifactId>vaadin-spring-boot-starter</artifactId>
162
+
163
+ </dependency>
164
+
165
+
166
+
167
+ <dependency>
168
+
169
+ <groupId>org.springframework.boot</groupId>
170
+
171
+ <artifactId>spring-boot-starter-test</artifactId>
172
+
173
+ <scope>test</scope>
174
+
175
+ <exclusions>
176
+
177
+ <exclusion>
178
+
179
+ <groupId>org.junit.vintage</groupId>
180
+
181
+ <artifactId>junit-vintage-engine</artifactId>
182
+
183
+ </exclusion>
184
+
185
+ </exclusions>
186
+
187
+ </dependency>
188
+
189
+ <dependency>
190
+
191
+ <groupId>io.projectreactor</groupId>
192
+
193
+ <artifactId>reactor-test</artifactId>
194
+
195
+ <scope>test</scope>
196
+
197
+ </dependency>
198
+
199
+ <dependency>
200
+
201
+ <groupId>org.springframework.security</groupId>
202
+
203
+ <artifactId>spring-security-test</artifactId>
204
+
205
+ <scope>test</scope>
206
+
207
+ </dependency>
208
+
209
+ </dependencies>
210
+
211
+
212
+
213
+ <dependencyManagement>
214
+
215
+ <dependencies>
216
+
217
+ <dependency>
218
+
219
+ <groupId>com.vaadin</groupId>
220
+
221
+ <artifactId>vaadin-bom</artifactId>
222
+
223
+ <version>${vaadin.version}</version>
224
+
225
+ <type>pom</type>
226
+
227
+ <scope>import</scope>
228
+
229
+ </dependency>
230
+
231
+ </dependencies>
232
+
233
+ </dependencyManagement>
234
+
235
+
236
+
237
+ <build>
238
+
239
+ <plugins>
240
+
241
+ <plugin>
242
+
243
+ <groupId>org.springframework.boot</groupId>
244
+
245
+ <artifactId>spring-boot-maven-plugin</artifactId>
246
+
247
+ </plugin>
248
+
249
+ </plugins>
250
+
251
+ </build>
252
+
253
+
254
+
255
+ </project>
256
+
137
257
  〜以下略〜
138
258
 
139
259
  ```
@@ -384,34 +504,6 @@
384
504
 
385
505
  <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
386
506
 
387
- <mainClass>${start-class}</mainClass>
388
-
389
- </transformer>
390
-
391
- </transformers>
392
-
393
- </configuration>
394
-
395
- </execution>
396
-
397
- </executions>
398
-
399
- <dependencies>
400
-
401
- <dependency>
402
-
403
- <groupId>org.springframework.boot</groupId>
404
-
405
- <artifactId>spring-boot-maven-plugin</artifactId>
406
-
407
- <version>2.2.5.RELEASE</version>
408
-
409
- </dependency>
410
-
411
- </dependencies>
412
-
413
- <configuration>
414
-
415
507
  〜以下略〜
416
508
 
417
509
  ```