Jackie Tang

Results 44 comments of Jackie Tang

修改 .roadhogrc,在 "extraBabelPlugins" 里加上: ["import", { "libraryName": "antd", "style": "css" }] ====================================== 上面的描述的操作,如何操作: ![extrababelplugins](https://cloud.githubusercontent.com/assets/13701989/23157935/09b0a33c-f858-11e6-8c1f-a34099899ccb.png) 发现其它地方有示例了: https://ant.design/docs/react/practical-projects-cn#下一步 ![extrababelplugins-docs](https://cloud.githubusercontent.com/assets/13701989/23158337/cc990672-f859-11e6-9439-4f8606c234fb.png)

好奇怪,也报了同样的错: fastjson版本:1.2.31 ```java com.alibaba.fastjson.JSONException: TODO ``` 同样的spring boot的fat jar,部署在两台机器上,只有一台机器报上面的错。 等转成json的字符串: ```json { "code": 0, "data": true, "message": "OK", "status": 0 } ``` 对应的Java对象: ```java import lombok.Data; import java.util.Date; @Data public...

@slankka 重新发布后,两台机器都开始报错了。刚才把报错的详细信息也粘上去了

温少建议升级到1.2.49,出现类似问题的同学可以试试

@su1216 这种是偶发的,怎么证明已经解决了呢? 对比了下1.2.31和1.2.49中com.alibaba.fastjson.util.TypeUtils.getRawClass, 在前两行代码有变化: ```java if (type instanceof Class) { return (Class) type; ``` v1.2.31中: ```java public static Class getRawClass(Type type) { if (type instanceof Class) { return (Class) type;...

@slankka if (type instanceof Class) { 变成 if (type instanceof Class) {

data-analysis好像没有使用ip-spider,整合一个才能看到效果啊 这个代理项目用过没:https://github.com/virjar/dungproxy

因为是双数据源,无法使用mybatis的starter 所以: ···xml #pager pagehelper.helperDialect=mysql pagehelper.reasonable=true pagehelper.supportMethodsArguments=true pagehelper.params=count=countSql com.github.pagehelper pagehelper-spring-boot-starter 1.1.2 tk.mybatis mapper-spring-boot-starter 1.1.0 org.mybatis mybatis 3.4.4 org.mybatis mybatis-spring 1.3.1 ``` ```java @Bean public MapperScannerConfigurer mapperScannerConfigurer() { MapperScannerConfigurer mapperScannerConfigurer =...

一个sqlSessionFactory. 数据源使用org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource进行切换 当时采用这种aop方式,觉得代码比较简洁。 但是日志总是出现warn,觉得很不爽