![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DevelopError
peng_gy
这个作者很懒,什么都没留下…
展开
-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
查看sql语句,是否有多余的空格,多余的逗号及其他多余的字符; 查看sql语句当中是否存在sql关键字我就是因为将备注字段设计为describe导致原创 2016-02-19 08:50:21 · 568 阅读 · 0 评论 -
DefaultHandlerExceptionResolver : Failed to convert request element: org.springframework.web.method.
@Controller@OperateAction("F_SOFT")@RequestMapping(value = "/cm/soft/package")public class PkgPackageFileManualController { //========== manager ========== @Autowired private PkgPackageFil原创 2016-04-07 14:39:41 · 6236 阅读 · 0 评论 -
In eclipse: A child container failed during start and Failed to start components
检查引入的jar包里面是否有servlet-api,如果存在请删除。原创 2016-05-16 16:02:32 · 629 阅读 · 0 评论 -
Why Tomcat7 is replicating all my logs in /var/log/messages
正常的日志目录应该是/var/log/tomcat,而在tomcat7当中日志全都跑到/var/log/messages当中了。原因及解决方法:Tomcat when used with official Arch Linux packages uses systemd's journalctl for startup log. This means that files /var/log/tomc原创 2016-05-16 21:22:34 · 708 阅读 · 0 评论 -
Spring模板异常
写了一个AuthController的接口,执行至方法结束,本以为成功了,但是Spring却给了一个模板无法渲染的异常提示。 template might not exist or might not be accessible by any of the configured Template Resolvers但是我工程里面没有配置过template,所以应该不是tempalte的问题;后来在原创 2017-03-14 19:47:55 · 513 阅读 · 0 评论 -
Spring MVC @PathVariable with dot (.) is getting truncated
今天遇到一个问题,一个UPDATE请求的restfule接口报404;其他的数据update的时候都没有问题; 原因是这条数据里面的主键id带了【.】,而Spring在处理的时候不认这个东西,所以过滤掉了;将controllre里面的path添加正则表达式,解决此问题 /somepath/{id:.+}原创 2017-05-22 14:53:44 · 353 阅读 · 0 评论 -
Map key contains dots but no replacement was configured! Make sure map keys don't contain dots in th
错误原因:mongodb当中的key存在.这种字符,比如说:dataFieldMap.name,需要将这种字符进行转义;以下是我的mongo的xml文件配置,具体的地址信息配置在application.properties当中; <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org原创 2017-11-07 14:42:54 · 3619 阅读 · 0 评论