idea 内置tomcat jersey 上传文件报403错误
Request processing failed; nested exception is com.sun.jersey.api.client.UniformInterfaceException: PUT http://localhost:9082/fileuploadserver_war/uploads/471e1ab4f32b4451bce68040f42bb959_1.jpg returned a response status of 403 Forbidden
解决,idea中查看的tomcat的系统目录,
找到tomcat中的conf/web.xml,在servlet-name =default 加入几行代码
<init-param> <param-name>readonly</param-name> <param-value>false</param-value> </init-param>