自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

代码的深渊

当你凝望代码时,代码也在凝望着你

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

原创 class path resource [config/spring/springmvc.xml] cannot be opened

错误:class path resource [config/spring/springmvc.xml] cannot be opened because it does not exist    错误原因:找不到我的 springmvc.xml ,在下面 web.xml 中是我引用路径,网上找到问题 classpath 指向路径不是 resources 路径,所以一直找不到我的xml文件....

2018-12-16 15:51:30 1487

转载 关于FreeMarker在生成Html静态网页文件时中文乱码的问题

编码的问题这里说的是编码的问题。项目使用的都是UTF-8编码,生成的文件在UTF-8编码下查看是乱码,而GBK正常(后来发现因为我用的中文操作系统所以用GBK查看正常)。(但是GBK在显示部分符号时会乱码,如"¥ ").我的Freemarker的配置都设置成了UTF-8,我的模版文件也是UTF-8编码的。下面是原来的代码改成了原因就在于OutputStreamWriter的不同构造方法...

2018-12-16 09:24:01 524

原创 有关select2插件的使用问题

select2插件在识别{“id”:“1”,“text”:“品牌”}数据时id 和 text 必须为小写如果是 ID 和 TEXT则无法识别所以在 Dao 层的查询语句需要写成这样SELECT id,spec_name as text from tb_specification而不是SELECT ID,spec_name as TEXT from tb_spec...

2018-12-13 14:32:26 1717

原创 solr创建动态域: org.springframework.data.solr.UncategorizedSolrException: nested exceptio

在pojo的map上加上泛型,如下: @Dynamic @Field("item_spec_*") private Map<String,String> specMap; public Map<String,String> getSpecMap() { return specMap; } public void...

2018-12-10 14:35:21 996

原创 Illegal access: this web application instance has been stopped already.

12�� 04, 2018 12:12:03 涓��� org.apache.catalina.loader.WebappClassLoader loadClass淇℃��: Illegal access: this web application instance has been stopped already. Could not load org.apache.zookeeper.pr...

2018-12-04 12:25:23 2520

空空如也

空空如也

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

TA关注的人

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