One of driver or jndiName must be specified in the data source Processing Document # 1
答案:2 悬赏:10 手机版
解决时间 2021-02-18 19:20
- 提问者网友:書生途
- 2021-02-17 18:32
solr full-import数据的时候报的这个错误,是从我本地的mysql数据库导数据的!请大牛们解答下,谢谢!
最佳答案
- 五星知识达人网友:未来江山和你
- 2021-02-17 19:27
private Connection getConnection() throws Exception {
long currTime = System.currentTimeMillis();
if (currTime - connLastUsed > CONN_TIME_OUT) {
synchronized (this) {
Connection tmpConn = factory.call();
closeConnection();
connLastUsed = System.currentTimeMillis();
return conn = tmpConn;
}
} else {
connLastUsed = currTime;
return conn;
}
}
long currTime = System.currentTimeMillis();
if (currTime - connLastUsed > CONN_TIME_OUT) {
synchronized (this) {
Connection tmpConn = factory.call();
closeConnection();
connLastUsed = System.currentTimeMillis();
return conn = tmpConn;
}
} else {
connLastUsed = currTime;
return conn;
}
}
全部回答
- 1楼网友:拜訪者
- 2021-02-17 19:54
我是来看评论的
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯