一句话解决一个问题


1. Docker安装之后需要重启, 否则报:

Error mounting devices cgroup: mountpoint for devices not found

2. Request.getServerPort是取的Http Request里面HostHeader的Port部分, 所以Nginx要做

proxy_set_header Host $host:$server_port; 

3. JDBCType 对于Select没用的.

ForjdbcTypethedocumentation(for iBATIS 3) states:

The JDBC type is only required for nullable columns upon insert, update or delete.

On page 33 in this document is a list of supported JDBC types.

For thejavaTypeattribute it says:

iBATIS can usually figure out the type if you’re mapping to a

JavaBean. However, if you are mapping to a HashMap, then you should

specify the javaType explicitly to ensure the desired behaviour.

4.  mvc:annotation-driven 初始化了一个自己的JacksonView

所以修改日期格式时候不生效

5. JS里面要区分Json 对象和字符串Json

否则Ajax提交时候要出问题

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容