摘要: 源代码是: 其中b_organization是数据库的表名 报错如下: org.hibernate.hql.internal.ast.QuerySyntaxException: b_organization is not mapped 错误原因及解决办法: 【tableName】 不要写你要查询的表 阅读全文
posted @ 2018-10-11 15:32 薪薪点灯 阅读(836) 评论(0) 推荐(0)
摘要: 步骤: 工具 > 显示首选项 > Table --> Format > modify > 字体 > 字号 > 确定 示例: 选择显示首选项 最后确定即可 阅读全文
posted @ 2018-09-29 09:34 薪薪点灯 阅读(4070) 评论(0) 推荐(0)
摘要: 步骤: 选中工具 - -> 常规选项 --> 字体 --> 字号 示例: 选中常规选项 阅读全文
posted @ 2018-09-29 09:23 薪薪点灯 阅读(2779) 评论(0) 推荐(0)
摘要: 错误信息:(在从数据库中获取数据时发生的错误) org.hibernate.type.SerializationException: could not deserialize 产生错误原因: 在数据库中的时间字段类型为 timestamp 在对应的实体类中将对应的时间字段也设置为了 TimeSta 阅读全文
posted @ 2018-09-11 13:55 薪薪点灯 阅读(1733) 评论(0) 推荐(0)
摘要: 出错信息: Unhandled exceptions: java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException 原因是: 导入的BeanUtils类没有导对 解决方法: 应该导入: import or 阅读全文
posted @ 2018-09-08 09:35 薪薪点灯 阅读(3428) 评论(0) 推荐(1)
摘要: 问题描述: Error configuring application listener of class org.springframework.web.util.Log4jConfigListenerjava.lang.ClassNotFoundException: org.springfram 阅读全文
posted @ 2018-09-04 14:43 薪薪点灯 阅读(315) 评论(0) 推荐(0)
摘要: 第一种方式: 1.配置springmvc配置文件的位置和名称 打开web.xml,具体配置如下: 2.在src下创建springmvc.xml 内容如下: 这里的prefix和suffix为controller层返回页面路径加的前缀和后缀 如 Controller层某接口返回 :“success” 阅读全文
posted @ 2018-08-22 13:57 薪薪点灯 阅读(3449) 评论(0) 推荐(0)
摘要: 按以下步骤来: 1.选择创建一个新项目 2.选择jdk和springmvc框架 3.设置项目名和项目路径 点击finish即可 这样一个springmvc项目就创建好了,如下: 所需要的基础jar包都已自动添加到了lib文件夹下 (这一点就比eclipse要方便的多,不需要像eclipse那样手动添 阅读全文
posted @ 2018-08-22 11:33 薪薪点灯 阅读(289) 评论(0) 推荐(0)
摘要: 这里引用一篇文章 https://www.cnblogs.com/feiyujun/p/6537510.html 具体解决操作: 在Idea中这样配置: File > Project Structure > Artifacts > 在右侧Output Layout右击项目名,选择Put into O 阅读全文
posted @ 2018-08-22 09:26 薪薪点灯 阅读(141) 评论(0) 推荐(0)
摘要: 报错信息如下: Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this progra 阅读全文
posted @ 2018-08-15 16:18 薪薪点灯 阅读(1177) 评论(0) 推荐(0)