解决办法
[root@2193 etc]# vi php.ini
; Maximum allowed size for uploaded files.
upload_max_filesize = 10M
; Maximum size of POST data that PHP will accept.
post_max_size = 15M
[root@2193 etc]# /etc/rc.d/init.d/httpd restart
1.发送请求,浏览器console报如下错误
Failed to load resource: the server responded with a status of 401 ()
2.发现是后端代码的问题,注释掉上面一行,改为下面返回成功
public Authentication attemptAuthentication(HttpServletRequest req, HttpServletResponse res) {
try {