2018年1月22日

嵌入式tomcat例子

摘要: 嵌入式tomcat学习笔记 -1 依赖 jdk用的1.8 <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <ve 阅读全文

posted @ 2018-01-22 16:07 玄门主宰 阅读(7364) 评论(0) 推荐(0) 编辑

2018年1月17日

springboot项目创建(myeclipse2017)

摘要: 第一步: File——》new——》Spring Starter Project 或者 File——》new——》Other...——》Spring Starter Project 第二步: Name是项目名 Package是包名称 这些内容按照自己项目的需求改就好了 第三步: 打开web下拉框,勾 阅读全文

posted @ 2018-01-17 15:23 玄门主宰 阅读(4195) 评论(0) 推荐(0) 编辑

2018年1月11日

使用javafxpackager将java项目打包成exe

摘要: 使用javafxpackager或者javapackager,(jdk7及以上自带的jar包) 打包步骤如下: 备注:我有一个java项目名为Test,只有一个Test类 public class Test { public static void main(String[] args) { jav 阅读全文

posted @ 2018-01-11 18:16 玄门主宰 阅读(1673) 评论(0) 推荐(0) 编辑

2017年12月23日

Spring Boot异常

摘要: 1、使用thymeleaf模板异常 项目在myeclipse启动后访问正常,但是打包成jar后,启动后访问页面异常,异常信息如下 异常信息:template might not exist or might not be accessible by any of the configured Tem 阅读全文

posted @ 2017-12-23 22:33 玄门主宰 阅读(139) 评论(0) 推荐(0) 编辑

2017年12月18日

myeclipse设置新建菜单file-new选项

摘要: window——》perspective——》Customize Perspective——》Menu Visibility——》File——》new 阅读全文

posted @ 2017-12-18 09:52 玄门主宰 阅读(690) 评论(0) 推荐(1) 编辑

2017年9月1日

myeclilpse打开文件所在位置的图标消失后的找回方法

摘要: Window——》Perspective——》Customize Perspective...——》Myeclipse-Desktop(勾选) 阅读全文

posted @ 2017-09-01 10:41 玄门主宰 阅读(581) 评论(0) 推荐(0) 编辑

2017年6月7日

mybatis使用接口方式报错

摘要: 报错:org.apache.ibatis.binding.BindingException: Type interface com.lmq.inter.MybatisBeanDao is not known to the MapperRegistry 原因:没有在xml文件中设置namesace和接 阅读全文

posted @ 2017-06-07 18:35 玄门主宰 阅读(402) 评论(0) 推荐(0) 编辑

2017年6月6日

SSH中的Dao类继承HibernateDaoSupport后出现异常

摘要: 异常:'sessionFactory' or 'hibernateTemplate' is required 原因:未注入hibernateTemplate,需要在spring的配置文件中明确指定bean以byName的方式匹配 <beans xmlns="http://www.springfram 阅读全文

posted @ 2017-06-06 08:30 玄门主宰 阅读(123) 评论(0) 推荐(0) 编辑

2017年6月4日

hibernate(nested transactions not supported)异常

摘要: org.hibernate.TransactionException: nested transactions not supported错误的解决方法! 原因:事务没有提交,事务提交后正常 Transaction tx = session.beginTransaction(); tx.commit 阅读全文

posted @ 2017-06-04 17:25 玄门主宰 阅读(466) 评论(0) 推荐(0) 编辑

2017年6月3日

hibernate设置各种数据库方言

摘要: RDBMS方言 DB2 org.hibernate.dialect.DB2Dialect DB2 AS/400 org.hibernate.dialect.DB2400Dialect DB2 OS390 org.hibernate.dialect.DB2390Dialect PostgreSQL o 阅读全文

posted @ 2017-06-03 18:05 玄门主宰 阅读(310) 评论(0) 推荐(0) 编辑

导航