Linux下java的安装
基本环境
Linux: CentOS Linux release 7.5.1804 (Core)
Java: java version “10.0.1”
error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using –without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using –with-pcre=option.
本次安装redis过程中遇到了不少问题在此一一记录下来!!!
出现该问题一般是由于网络有问题,具体解决方案参照https://blog.csdn.net/gebitan505/article/details/54584213
项目地址:https://github.com/chsm1998/team_zteoa.git
使用git clone命令拷贝然后导入eclipse1
git clone https://github.com/chsm1998/team_zteoa.git
以下是官方文档的解释:
If you need access to pre-existing session attributes that are managed globally, i.e. outside the controller (e.g. by a filter), and may or may not be present use the @SessionAttribute annotation on a method parameter:
关键在于and may or may not be present翻译过来是:可能存在也可能不存在
而在实际使用时若session无法获取到该属性是会报400错误的:
Missing session attribute ‘user’ of type User