2021-04-11 16:46
@JFinal jfinal 有没有像springboot一样集成rabbitmq的列子,好像没有springboot那么简单
2018-08-03 16:09
@JFinal FstSerializer 与 JdkSerializer 3.4 都乱码 怎么回事啊
redisPlugin.setSerializer(new FstSerializer());
//redisPlugin.setSerializer(new JdkSerializer());
\xFC {"test":1,"age":23,"name":"\xFF\x18R\xFFsQ\xFF\x97g"}
中文乱码
2018-07-18 16:25
@JFinal public static DataSource getDataSource() {
PropKit.use("database.properties");
DruidPlugin druidPlugin = BaseConfig.createDruidPlugin();
druidPlugin.start();
return druidPlugin.getDataSource();
}
但是自动生成 哪里 是没法设置 arp.setDialect(new SqlServerDialect()) 还是报什么的错无,启动是没有问题了
2018-07-18 11:56
@JFinal 我连接sqlserver 数据库 表都是sqlserver的 但是提示:Starting JFinal 3.4
Starting scanner at interval of 5 seconds.
Starting web server on port: 80
Can not create Table object, maybe the table blog is not exists.
2018-07-18 11:43:07
[ERROR]-[Thread: main]-[com.jfinal.core.Config.startPlugins()]: Plugin start error: com.jfinal.plugin.activerecord.ActiveRecordPlugin.
com.microsoft.sqlserver.jdbc.SQLServerException: '`' 附近有语法错误。
com.jfinal.plugin.activerecord.ActiveRecordException: com.microsoft.sqlserver.jdbc.SQLServerException: '`' 附近有语法错误。
at com.jfinal.plugin.activerecord.TableBuilder.build(TableBuilder.java:55)
at com.jfinal.plugin.activerecord.ActiveRecordPlugin.start(ActiveRecordPlugin.java:226)
at com.jfinal.core.Config.startPlugins(Config.java:128)
at com.jfinal.core.Config.configPluginWithOrder(Config.java:71)