質問編集履歴

2

質問の答え

2017/01/21 11:41

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -69,3 +69,159 @@
69
69
  「○○の情報がわからないと答えようが無い」等ありましたらご指摘お願いします。
70
70
 
71
71
  毎回質問ばかりで恐縮ですが、ぜひ宜しくお願いします。
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ matobaaさんへ
80
+
81
+ [1]
82
+
83
+ org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'jdbc:mysql://localhost:3306/test'
84
+
85
+
86
+
87
+ Cannot create JDBC driver of class '' for connect URL 'jdbc:mysql://localhost:3306/test'
88
+
89
+
90
+
91
+ at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1452)
92
+
93
+
94
+
95
+ at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371)
96
+
97
+
98
+
99
+ at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
100
+
101
+
102
+
103
+ at work.LoginController.doPost(LoginController.java:74)
104
+
105
+
106
+
107
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
108
+
109
+
110
+
111
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
112
+
113
+
114
+
115
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
116
+
117
+
118
+
119
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
120
+
121
+
122
+
123
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
124
+
125
+
126
+
127
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
128
+
129
+
130
+
131
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
132
+
133
+
134
+
135
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
136
+
137
+
138
+
139
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
140
+
141
+
142
+
143
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
144
+
145
+
146
+
147
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
148
+
149
+
150
+
151
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
152
+
153
+
154
+
155
+ at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
156
+
157
+
158
+
159
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
160
+
161
+
162
+
163
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)
164
+
165
+
166
+
167
+ at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1083)
168
+
169
+
170
+
171
+ at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:640)
172
+
173
+
174
+
175
+ at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
176
+
177
+
178
+
179
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
180
+
181
+
182
+
183
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
184
+
185
+
186
+
187
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
188
+
189
+
190
+
191
+ at java.lang.Thread.run(Thread.java:745)
192
+
193
+
194
+
195
+ Caused by: java.sql.SQLException: No suitable driver
196
+
197
+
198
+
199
+ at java.sql.DriverManager.getDriver(DriverManager.java:315)
200
+
201
+
202
+
203
+ at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1437)
204
+
205
+
206
+
207
+ ... 25 more
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+ [2]
216
+
217
+ おそらく使っていると思いますが、確信がありません。
218
+
219
+ どこかで確認できますか?
220
+
221
+
222
+
223
+ [3]
224
+
225
+ WebContent¥WEB-INF¥lib 内に配置しています。
226
+
227
+ ![イメージ説明](85559c78ecac034abec859ab774b8d4f.png)

1

挨拶文の追記

2017/01/21 11:41

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -63,3 +63,9 @@
63
63
  統合環境:Eclipse neon
64
64
 
65
65
  DB←→Servret←→JSP
66
+
67
+
68
+
69
+ 「○○の情報がわからないと答えようが無い」等ありましたらご指摘お願いします。
70
+
71
+ 毎回質問ばかりで恐縮ですが、ぜひ宜しくお願いします。