要加载
application.conf,
DBs.setupAll()应提前调用scalikejdbc-config 。
http://scalikejdbc.org/documentation/configuration.html#scalikejdbc-
config
https://github.com/scalikejdbc/hello-
scalikejdbc/blob/9d21ec7ddacc76977a7d41aa33c800d89fedc7b6/test/settings/DBSettings.scala#L3-L22
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)