随笔分类 - java
摘要:1. 配置mavne,分别选择自己安装好的maven的位置,配置文件,本地仓库的位置。 2. 新建项目,选择maven项目。(file-》new project-》maven)。按照红色框所示选择。 这里是根据现有的mavne的模板库创建,我们选择的是archetype-webapp,这是最简单的w
阅读全文
摘要:Invocation of init method failed; nested exception is org.hibernate.MappingNotFoundException: resource: model/Department.hbm.xml not found at (1)项目的hi
阅读全文
摘要:项目用springmvc+Thymeleaf ,但是发现html中的所有中文都乱码。 但是自己的html的编码确定已经是UTF-8,在web.xml文件里面也添加了CharacterEncodingFilter,还是没有解决。 在网上搜了好久,网上的说法是为ThymeleafViewResolver
阅读全文

浙公网安备 33010602011771号