回答編集履歴

3

修正

2021/12/17 04:44

投稿

shiketa
shiketa

スコア3971

test CHANGED
@@ -36,7 +36,7 @@
36
36
 
37
37
 
38
38
 
39
- これかな。不要では?
39
+ これ、SQLServerのドライバでは https://mvnrepository.com/artifact/net.sourceforge.jtds/jtds 。この設定を削除すればいい。
40
40
 
41
41
 
42
42
 

2

追記

2021/12/17 04:44

投稿

shiketa
shiketa

スコア3971

test CHANGED
@@ -33,3 +33,15 @@
33
33
 
34
34
 
35
35
  `Driver net.sourceforge.jtds.jdbc.Driver `となっているので、`jdbc:postgresql://localhost:5432/otnj`を解釈できるJDBCドライバが存在していないのではないかと。
36
+
37
+
38
+
39
+ これかな。不要では?
40
+
41
+
42
+
43
+ ```
44
+
45
+ spring.datasource.driver-class-name=net.sourceforge.jtds.jdbc.Driver
46
+
47
+ ```

1

追記

2021/12/17 04:31

投稿

shiketa
shiketa

スコア3971

test CHANGED
@@ -19,3 +19,17 @@
19
19
  spring.datasource.url=jdbc:postgresql://localhost:5432/otnj?user=otnj&sslmode=disable&password=otnj
20
20
 
21
21
  ```
22
+
23
+
24
+
25
+ 追記。
26
+
27
+
28
+
29
+ > spring.datasource.url=jdbc:postgresql://localhost:5432/otnj
30
+
31
+ などにしてもメッセージは変わらないです。
32
+
33
+
34
+
35
+ `Driver net.sourceforge.jtds.jdbc.Driver `となっているので、`jdbc:postgresql://localhost:5432/otnj`を解釈できるJDBCドライバが存在していないのではないかと。