質問編集履歴
3
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -63,7 +63,7 @@
|
|
63
63
|
|
64
64
|
//コネクションオブジェクト
|
65
65
|
try {
|
66
|
-
|
66
|
+
Class.forName("org.mariadb.jdbc.Driver"); // <- 修正
|
67
67
|
Connection con = DriverManager.getConnection(url, user, pass);
|
68
68
|
} catch (SQLException e) {
|
69
69
|
e.printStackTrace();
|
@@ -92,4 +92,14 @@
|
|
92
92
|
追記2
|
93
93
|
tomcatの設定ファイルにmariadbを登録する必要がある様でした。
|
94
94
|
|
95
|
-
https://community.jaspersoft.com/wiki/how-add-new-jndi-connection-tomcat
|
95
|
+
https://community.jaspersoft.com/wiki/how-add-new-jndi-connection-tomcat
|
96
|
+
|
97
|
+
追記3
|
98
|
+
tomcatの設定は、必要ありませんでした。
|
99
|
+
|
100
|
+
変更点
|
101
|
+
"com.mariadb.jdbc.Driver" -> "org.mariadb.jdbc.Driver"
|
102
|
+
|
103
|
+
"com" -> "org"の初歩的なミスでした。
|
104
|
+
|
105
|
+
"com.mysql.jdbc.Driver"のごっちゃになっていました。
|
2
追記2
title
CHANGED
File without changes
|
body
CHANGED
@@ -87,4 +87,9 @@
|
|
87
87
|
|
88
88
|

|
89
89
|
|
90
|
-
何か勘違いがあるのだと思います。
|
90
|
+
何か勘違いがあるのだと思います。
|
91
|
+
|
92
|
+
追記2
|
93
|
+
tomcatの設定ファイルにmariadbを登録する必要がある様でした。
|
94
|
+
|
95
|
+
https://community.jaspersoft.com/wiki/how-add-new-jndi-connection-tomcat
|
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -77,4 +77,14 @@
|
|
77
77
|
|
78
78
|
-- プロジェクトの構成(jdbcは表示されている)
|
79
79
|
|
80
|
-

|
80
|
+

|
81
|
+
|
82
|
+
追記
|
83
|
+
|
84
|
+
--eclipseのtomcat設定(プロジェクトファイルのサーバと同じフォルダです)
|
85
|
+
|
86
|
+

|
87
|
+
|
88
|
+

|
89
|
+
|
90
|
+
何か勘違いがあるのだと思います。
|