做jdbc.config时有问题。我的jdbc.config配置如下:
#数据源集
#db.datasource = eova,main
db.datasource = eova
#Eova数据源
#eova.url = jdbc:mysql://127.0.0.1:3306/eova?characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
#eova.user = root
#eova.pwd = root
#默认数据源
#main.url = jdbc:mysql://127.0.0.1:3306/demo?characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
#main.user = root
#main.pwd = root
#其它数据库连接方式
#oracle.url = jdbc:oracle:thin:@127.0.0.1:1521:ORCL
#postgresql.url = jdbc:postgresql://127.0.0.1:5432/postgres
mssql.url = jdbc:sqlserver://10.2.22.180:1433;databaseName=ecology
user = sa
pwd = huang7708
Config Routes Starting...
Config Plugins Starting...
七月 16, 2018 10:31:28 上午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter jfinal
java.lang.RuntimeException: java.sql.SQLException: unkow jdbc driver :
at com.eova.config.EovaConfig.initDruidPlugin(EovaConfig.java:432)
at com.eova.config.EovaConfig.regDataSource(EovaConfig.java:335)
at com.eova.config.EovaConfig.configPlugin(EovaConfig.java:280)
at com.jfinal.core.Config.configPluginWithOrder(Config.java:70)
at com.jfinal.core.Config.configJFinal(Config.java:56)
at com.jfinal.core.JFinal.init(JFinal.java:63)
at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:49)
jdbc.config配置不正确,应该怎样配置?