自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

小湘西的博客

技术与问题的汇总

  • 博客(7)
  • 收藏
  • 关注

原创 elasticsearch scripts of type [inline], operation [update] and lang [groovy] are disabled

当我执行:  curl -XPOST 'localhost:9200/test/type1/1/_update' -d '{ "script" : "ctx._source.text = \"some text\""}'出现了elasticsearch scripts of type [inline], operation [update] and lang [groovy]

2016-04-27 14:15:37 2547

转载 @RequestParam @RequestBody @PathVariable 等参数绑定注解详解

引言:接上一篇文章,对@RequestMapping进行地址映射讲解之后,该篇主要讲解request 数据到handler method 参数数据的绑定所用到的注解和什么情形下使用;简介:handler method 参数绑定常用的注解,我们根据他们处理的Request的不同内容部分分为四类:(主要讲解常用类型)A、处理requet uri 部分(这里指

2016-04-15 11:36:12 419

原创 one or more constraints have not been satisfied

maven项目倒入后problem提示:one or more constraints have not been satisfied。1、有可能是你的jdk版的过低了。如下         org.apache.maven.pluginsmaven-compiler-plugin2.3.21.61.6 你的pom.xml文件里的mave

2016-04-14 16:47:33 18415 3

原创 org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.XXX.util.spri

问题:    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.XXX.util.spring.EncryptPropertyPlaceholderConfigurer] for bean with name 'propertyConfigurer' defined in

2016-04-13 13:56:45 20326

原创 java.lang.IllegalArgumentException: Document base D:\apache-tomcat-7.0.61\webapps\xxxx does no

解决方法:在tomcat 里找到~\conf\Catalina\localhost  目录下有个XXXX.xml文件 ,删除xxxx.xml文件重启tomcat 就OK了!注:XXXX  就是java.lang.IllegalArgumentException: Document base D:\apache-tomcat-7.0.61\webapps\xxxx does not ex

2016-04-13 10:58:40 11226 1

原创 乐观锁与悲观锁区别

悲观锁(Pessimistic Lock)      顾名思义,就是很悲观,每次去拿数据的时候都认为别人会修改,所以每次在拿数据的时候都会上锁,这样别人想拿这个数据就会block直到它拿到锁。传统的关系型数据库里边就用到了很多这种锁机制,比如行锁,表锁等,读锁,写锁等,都是在做操作之前先上锁。乐观锁(Optimistic Lock)        顾名思义,就是

2016-04-07 12:58:28 354

原创 Exception in thread "http-bio-8080-exec-2" java.lang.OutOfMemoryError: PermGen space

内存溢出

2016-04-06 16:42:06 2067

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除