![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
日常错误
动寒川
这个作者很懒,什么都没留下…
展开
-
docker上部署项目的重大误区
在docker上部署项目时,实现一个上传然后写文件的功能,传入的路径为绝对路径。在本地开发时项目所在的用户组和登录的用户是相同的,项目可以直接访问各路径或通过sudo访问到,但是!在docker上的项目是运行在docker容器中,是不能直接访问或创建当前的操作系统目录的。因此在后台读取到文件流之后就会写失败,而客户端只知道上传失败,根据代码逻辑再重试再失败。。。最终因为超时而报错中断。因此,在do原创 2016-09-27 20:54:56 · 947 阅读 · 0 评论 -
maven创建webapp报错
最近使用maven创建webapp时报出一下错误: Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the configured repositories. Could not resolve artifact org.apache.maven.arche原创 2016-10-20 11:58:21 · 887 阅读 · 0 评论 -
springMVC发送POST请求时接收不到参数问题
今天在做一个功能时,前台传参过去突然出现如下错误: 八月 16, 2016 3:45:21 下午 org.apache.catalina.core.StandardWrapperValve invoke 严重: Servlet.service() for servlet [rest] in context with path [/admin] threw exception [Request p原创 2016-08-16 15:46:28 · 4809 阅读 · 1 评论