2023-03-31 10:12
@杜福忠 我刚看了,DruidPlugin里边没有start这个
DataSource ds = new DataSource() {
@Override
public T unwrap(Class iface) throws SQLException {
// TODO Auto-generated method stub
return null;
}
@Override
public boolean isWrapperFor(Class iface) throws SQLException {
// TODO Auto-generated method stub
return false;
}
@Override
public void setLoginTimeout(int seconds) throws SQLException {
// TODO Auto-generated method stub
}
@Override
public void setLogWriter(PrintWriter out) throws SQLException {
// TODO Auto-generated method stub
}
@Override
public Logger getParentLogger() throws SQLFeatureNotSupportedException {
// TODO Auto-generated method stub
return null;
}
@Override
public int getLoginTimeout() throws SQLException {
// TODO Auto-generated method stub
return 0;
}
@Override
public PrintWriter getLogWriter() throws SQLException {
// TODO Auto-generated method stub
return null;
}
@Override
public Connection getConnection(String username, String password) throws SQLException {
// TODO Auto-generated method stub
return null;
}
@Override
public Connection getConnection() throws SQLException {
// TODO Auto-generated method stub
return null;
}
};
2022-02-23 09:20
@JFinal 我这个方法是确实存在CardController中的,数据都正常请求,就是一直报这个错。
2019-03-29 15:25
@JFinal 不行,把常见的中文编码都用了,依然乱码
2019-01-11 12:42
我查看了,包也存在,并且shell也是支持的
[root@localhost ht_data_service]# ls
config lib start.bat start.sh stop.sh webapp
[root@localhost ht_data_service]# cd lib
[root@localhost lib]# ls
c3p0-0.9.1.jar javax.servlet-api-4.0.1.jar slf4j-log4j12-1.7.5.jar
cglib-nodep-3.2.5.jar jaxen-1.1.1.jar undertow-core-2.0.16.Final.jar
cos-2017.5.jar jboss-logging-3.3.2.Final.jar undertow-servlet-2.0.16.Final.jar
dom4j-1.6.1.jar jdom-1.0.jar xalan-2.6.0.jar
druid-1.0.29.jar jfinal-3.4.jar xercesImpl-2.6.2.jar
ehcache-core-2.6.11.jar jfinal-undertow-1.4.jar xml-apis-1.0.b2.jar
fastjson-1.2.38.jar log4j-1.2.17.jar xmlParserAPIs-2.6.2.jar
ht_data_service-3.2.jar mysql-connector-java-5.1.20.jar xnio-api-3.3.8.Final.jar
hutool-all-4.1.14.jar ojdbc14-10.2.0.4.0.jar xnio-nio-3.3.8.Final.jar
icu4j-2.6.1.jar slf4j-api-1.7.5.jar xom-1.0.jar
[root@localhost lib]# cat /etc/shells
/bin/sh
/bin/bash
/sbin/nologin
/bin/dash
/bin/tcsh
/bin/csh
[root@localhost lib]#