摘要: 1 需要persistence.xml 完全通过属性配置没成功 2 引包 hibernate-core groupid 为hibernate的包已经过时了 要引org.hibernate 3 检查lib中是否有jpa1.x 需要移除掉 不然会报 Exception in thread "main" 阅读全文
posted @ 2019-10-24 21:26 wolbo 阅读(1059) 评论(0) 推荐(0) 编辑
摘要: 1 丢弃本地变更 重置为远端分支内容 git reset --hard origin/branchName 如 git reset --hard origin/F_AssetItem 阅读全文
posted @ 2019-10-21 19:41 wolbo 阅读(11530) 评论(0) 推荐(0) 编辑
摘要: 如果记住过远程计算机的用户名密码 阅读全文
posted @ 2019-10-21 11:22 wolbo 阅读(835) 评论(0) 推荐(0) 编辑
摘要: 1 忽略路径超长 git config --system core.longpaths true 2 比较全的gitignore https://www.gitignore.io/api/vim,node,java,linux,macos,emacs,nanoc,eclipse,windows,ja 阅读全文
posted @ 2019-10-16 14:33 wolbo 阅读(856) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace xxx.Common { static class TypeUtilities { public static List ... 阅读全文
posted @ 2019-10-12 14:10 wolbo 阅读(679) 评论(0) 推荐(0) 编辑
摘要: 基于maven的java工程 执行 mvn idea:module可恢复.iml文件 阅读全文
posted @ 2019-09-26 19:35 wolbo 阅读(649) 评论(0) 推荐(0) 编辑
摘要: 1 maven-jar-plugin 在打包阶段排除 需放到具体模块pom中才生效 阅读全文
posted @ 2019-09-25 17:37 wolbo 阅读(8297) 评论(0) 推荐(0) 编辑
摘要: 1命令行 启动服务 pg_ctl -D "C:\Program Files\PostgreSQL\9.1\data" start 2 查看状态 pg_ctl -D "C:\Program Files\PostgreSQL\9.1\data" status 3 如果收到的错误是 1063 , 很可能是 阅读全文
posted @ 2019-09-19 18:39 wolbo 阅读(7083) 评论(0) 推荐(0) 编辑
摘要: #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; ev 阅读全文
posted @ 2019-09-14 11:07 wolbo 阅读(976) 评论(0) 推荐(0) 编辑
摘要: 获取bean Class beanClass = Class.forName(event.className); FilterEvent filterEvent = (FilterEvent)BeansContext.getWebApplicationContext().getBean(beanCl 阅读全文
posted @ 2019-09-12 10:00 wolbo 阅读(43539) 评论(0) 推荐(0) 编辑