![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
intellij-idea使用
文章平均质量分 54
Today is monday
学习备忘
展开
-
在intellij idea中使用Hibernate详细
1.在intellij idea中添加Hibernate support在file->setting->plugins搜索Hibernate 2.创建一个Hibernate项目3.在mysql数据库中创建数据库hibernate并创建一个学生表(students)4.使用intellij idea连接数据库5.创建持久化类6.使用Junit测试原创 2017-04-16 10:32:58 · 9463 阅读 · 6 评论 -
org.apache.openejb.OpenEJBException: Unable to load servlet filter class: org.apache.struts2.dispatc
关于使用Intellij IDEA 创建Struts2程序出现Caused by: org.apache.openejb.OpenEJBException: Unable to load servlet filter class: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter: org.apache.str原创 2017-05-06 12:26:58 · 1508 阅读 · 0 评论 -
使用hibernate生成表结构
准备工作首先创建一个空的web项目,在其中添加hibernate的jar包 在src目录下创建hibernate配置文件:hibernate.cfg.xml (如果使用intellij idea创建maven项目,src默认不是Source Folders,可以在file->project Structure->modules下右键src选sources然后apply即可)原创 2017-05-29 11:34:54 · 494 阅读 · 0 评论 -
idea terminal git log乱码
执行命令 set LESSCHARSET=utf-8乱码不是git导致的,是idea terminal 使用的为cmd.exe,默认的编码不是utf-8.原创 2018-12-18 11:38:09 · 421 阅读 · 0 评论