摘要: 注:因为ehache缺省配置是持久化硬盘的,而两个项目的cache存储库相同,导致反序列化时发生错误。 解决:cache存储库设置不同 或 修改ehcache.xml,设置缺省cache的diskPersistent="false"即可 阅读全文
posted @ 2019-03-29 10:25 不烦~~! 阅读(6090) 评论(0) 推荐(0) 编辑
摘要: 1.使用模板方式,设置默认分词 注: 设置模板,需要重新导入数据,才生效 2.单个设置分词(github上的例子) 注: 设置如果 遇到 从错误提示上来看是说要创建的映射已经存在了,问题的关键就在于我没有创建过叫index的索引 解决:重新导入数据,不做查询的情况下(查询了的话,会默认创建一个map 阅读全文
posted @ 2018-12-10 16:28 不烦~~! 阅读(2780) 评论(0) 推荐(0) 编辑
摘要: 1.语法 阅读全文
posted @ 2018-11-25 22:53 不烦~~! 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1.如果文件路径带有 \ 比如 open('c:\python\test.txt') 会报:SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXX 阅读全文
posted @ 2018-11-25 22:46 不烦~~! 阅读(196) 评论(0) 推荐(0) 编辑
摘要: The temporary upload location [/tmp/tomcat-docbase.3752410576653354473.8899/work/Tomcat/localhost/ROOT] is not valid at org.springframework.web.servle 阅读全文
posted @ 2018-11-20 09:54 不烦~~! 阅读(1647) 评论(0) 推荐(0) 编辑
摘要: 1.rpm下载地址 http://www.oracle.com/technetwork/java/javase/downloads/index.html 2.如果有安装openjdk 则卸载 ########检查#################### [root@localhost ~]# rpm 阅读全文
posted @ 2018-11-17 19:49 不烦~~! 阅读(10450) 评论(0) 推荐(0) 编辑
摘要: 1.其它步骤参考地址https://blog.csdn.net/achenyuan/article/details/79021340https://blog.csdn.net/Dancen/article/details/62235762 2.配置nginx 开启https#./configure 阅读全文
posted @ 2018-11-14 18:01 不烦~~! 阅读(657) 评论(0) 推荐(0) 编辑
摘要: 1.字典 ==> {key:value} 可以直接理解为 Json格式 2.列表 ==> 数组 在java中,就是list,是个可变数组 python中把java中list与数组合并为并统称为 列表 #上代码 list = [1,2,3,4,5,6,7,8,9] print(list) ==> [1 阅读全文
posted @ 2018-11-14 16:56 不烦~~! 阅读(182) 评论(0) 推荐(0) 编辑
摘要: #未用docker安装的 mysqldump -h192.168.1.180 -P3306 -uroot -p123456 demo0201 > bak180814.sql mysql -u用户名 -p密码 数据库名称 < 用于恢复数据库的数据文件路径 #docker备份docker exec -i 阅读全文
posted @ 2018-11-14 16:44 不烦~~! 阅读(2605) 评论(0) 推荐(0) 编辑
摘要: { "message": "Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/util/PatternMatchUtils", "throwable": { 阅读全文
posted @ 2018-07-31 10:55 不烦~~! 阅读(20185) 评论(4) 推荐(0) 编辑