摘要:
1 需要persistence.xml 完全通过属性配置没成功 2 引包 hibernate-core groupid 为hibernate的包已经过时了 要引org.hibernate 3 检查lib中是否有jpa1.x 需要移除掉 不然会报 Exception in thread "main" 阅读全文
摘要:
1 丢弃本地变更 重置为远端分支内容 git reset --hard origin/branchName 如 git reset --hard origin/F_AssetItem 阅读全文
摘要:
如果记住过远程计算机的用户名密码 阅读全文
摘要:
1 忽略路径超长 git config --system core.longpaths true 2 比较全的gitignore https://www.gitignore.io/api/vim,node,java,linux,macos,emacs,nanoc,eclipse,windows,ja 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace xxx.Common { static class TypeUtilities { public static List ... 阅读全文
摘要:
基于maven的java工程 执行 mvn idea:module可恢复.iml文件 阅读全文
摘要:
1 maven-jar-plugin 在打包阶段排除 需放到具体模块pom中才生效 阅读全文
摘要:
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 , 很可能是 阅读全文
摘要:
#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 阅读全文
摘要:
获取bean Class beanClass = Class.forName(event.className); FilterEvent filterEvent = (FilterEvent)BeansContext.getWebApplicationContext().getBean(beanCl 阅读全文