質問編集履歴

2

補足情報追加

2020/02/02 02:51

投稿

tamutomo
tamutomo

スコア4

test CHANGED
File without changes
test CHANGED
@@ -463,3 +463,31 @@
463
463
  spring.datasource.password=
464
464
 
465
465
  ```
466
+
467
+ ※補足情報
468
+
469
+ 以前VSCodeを使った時は特にエラーは出ませんでしたのでツールの問題の可能性もあるかもしれません。
470
+
471
+
472
+
473
+
474
+
475
+ ※以下ビルド手順です
476
+
477
+ SpringToolSuite4を使っております。
478
+
479
+
480
+
481
+ フォルダを右クリックして→実行→SpringBootApplicationです
482
+
483
+
484
+
485
+ ![イメージ説明](87833d5517c93fd5f0f560a963da7615.png)
486
+
487
+
488
+
489
+
490
+
491
+ ※ご教授いただいた./mvnw clean packageに必要な物をダウンロードし、試しましたが
492
+
493
+ 同じエラーが出てしまいます。

1

補足情報追加

2020/02/02 02:51

投稿

tamutomo
tamutomo

スコア4

test CHANGED
File without changes
test CHANGED
@@ -278,12 +278,188 @@
278
278
 
279
279
 
280
280
 
281
- ・あ
282
-
283
281
 
284
282
 
285
283
  ### 補足情報(FW/ツールのバージョンなど)
286
284
 
287
285
 
288
286
 
287
+ pom.xmlファイルです
288
+
289
+
290
+
291
+ ```
292
+
293
+ <?xml version="1.0" encoding="UTF-8"?>
294
+
295
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
296
+
297
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
298
+
299
+ <modelVersion>4.0.0</modelVersion>
300
+
301
+ <parent>
302
+
303
+ <groupId>org.springframework.boot</groupId>
304
+
305
+ <artifactId>spring-boot-starter-parent</artifactId>
306
+
307
+ <version>2.2.4.RELEASE</version>
308
+
309
+ <relativePath/> <!-- lookup parent from repository -->
310
+
289
- ここにより詳細な情報を記載してください。
311
+ </parent>
312
+
313
+ <groupId>com.example</groupId>
314
+
315
+ <artifactId>hello</artifactId>
316
+
317
+ <version>0.0.1-SNAPSHOT</version>
318
+
319
+ <name>hello</name>
320
+
321
+ <description>Demo project for Spring Boot</description>
322
+
323
+
324
+
325
+ <properties>
326
+
327
+ <java.version>1.8</java.version>
328
+
329
+ </properties>
330
+
331
+
332
+
333
+ <dependencies>
334
+
335
+ <dependency>
336
+
337
+ <groupId>org.springframework.boot</groupId>
338
+
339
+ <artifactId>spring-boot-starter-data-jpa</artifactId>
340
+
341
+ </dependency>
342
+
343
+ <dependency>
344
+
345
+ <groupId>org.springframework.boot</groupId>
346
+
347
+ <artifactId>spring-boot-starter-thymeleaf</artifactId>
348
+
349
+ </dependency>
350
+
351
+ <dependency>
352
+
353
+ <groupId>org.springframework.boot</groupId>
354
+
355
+ <artifactId>spring-boot-starter-web</artifactId>
356
+
357
+ </dependency>
358
+
359
+
360
+
361
+ <dependency>
362
+
363
+ <groupId>org.springframework.boot</groupId>
364
+
365
+ <artifactId>spring-boot-devtools</artifactId>
366
+
367
+ <scope>runtime</scope>
368
+
369
+ <optional>true</optional>
370
+
371
+ </dependency>
372
+
373
+ <dependency>
374
+
375
+ <groupId>mysql</groupId>
376
+
377
+ <artifactId>mysql-connector-java</artifactId>
378
+
379
+ <scope>runtime</scope>
380
+
381
+ </dependency>
382
+
383
+ <dependency>
384
+
385
+ <groupId>org.springframework.boot</groupId>
386
+
387
+ <artifactId>spring-boot-starter-test</artifactId>
388
+
389
+ <scope>test</scope>
390
+
391
+ <exclusions>
392
+
393
+ <exclusion>
394
+
395
+ <groupId>org.junit.vintage</groupId>
396
+
397
+ <artifactId>junit-vintage-engine</artifactId>
398
+
399
+ </exclusion>
400
+
401
+ </exclusions>
402
+
403
+ </dependency>
404
+
405
+ <dependency>
406
+
407
+ <groupId>org.springframework.boot</groupId>
408
+
409
+ <artifactId>spring-boot-starter-data-jpa</artifactId>
410
+
411
+ </dependency>
412
+
413
+ <dependency>
414
+
415
+ <groupId>mysql</groupId>
416
+
417
+ <artifactId>mysql-connector-java</artifactId>
418
+
419
+ </dependency>
420
+
421
+ </dependencies>
422
+
423
+
424
+
425
+ <build>
426
+
427
+ <plugins>
428
+
429
+ <plugin>
430
+
431
+ <groupId>org.springframework.boot</groupId>
432
+
433
+ <artifactId>spring-boot-maven-plugin</artifactId>
434
+
435
+ </plugin>
436
+
437
+ </plugins>
438
+
439
+ </build>
440
+
441
+
442
+
443
+ </project>
444
+
445
+
446
+
447
+
448
+
449
+ ```
450
+
451
+
452
+
453
+ application.propertiesです
454
+
455
+ ```
456
+
457
+ spring.jpa.hibernate.ddl-auto=none
458
+
459
+ spring.datasource.url=jdbc:mysql://localhost:3306/javaTest
460
+
461
+ spring.datasource.username=root
462
+
463
+ spring.datasource.password=
464
+
465
+ ```