一句话解决一个问题


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提交时候要出问题

你可能感兴趣的:(一句话解决一个问题)