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里面要區(qū)分Json 對象和字符串Json
否則Ajax提交時候要出問題