这玩意升级确实花时间啊,主要还没啥资料好看。
有个客户说这版本太低了有洞 不安全,要高点的,于是坑爹事情开始了。。。 点了一天多,不想动了就这样吧。。
中间还有些org.springframework.core.NativeDetector类找不到、类里方法找不到的报错,记得升级版本后刷新,还有记得包那里put into output Root
// query.with(new Sort(new Sort.Order[] { new Sort.Order(Sort.Direction.DESC, "upload_time") }));
query.with(Sort.by(new Sort.Order[]{new Sort.Order(Sort.Direction.DESC, "upload_time")}));
xmlns:context="Index of /schema/context"
xmlns:mongo="Index of /schema/data/mongo"
xsi:schemaLocation="Index of /schema/beans Index of /schema/beans/spring-beans.xsd
Index of /schema/context Index of /schema/context/spring-context-4.3.xsd
Index of /schema/data/mongo Index of /schema/data/mongo/spring-mongo-3.0.xsd">
connection-pool-max-size="20"
connection-pool-maintenance-frequency="10"
connection-pool-maintenance-initial-delay="11"
connection-pool-max-connection-idle-time="30"
connection-pool-max-wait-time="15" />
搞完发现页面似乎打不开了?
web.xml
springMVC /