摘要: 操作系统, Cosmos hal 阅读全文
posted @ 2022-06-16 20:16 树下野鹿 阅读(107) 评论(0) 推荐(0) 编辑
摘要: erlang , cowboy 阅读全文
posted @ 2020-09-19 16:25 树下野鹿 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 如<context:property-placeholder location="classpath:config/db.properties"/> <context:property-placeholder location="classpath:config/mail.properties"/> 阅读全文
posted @ 2016-07-26 14:50 树下野鹿 阅读(414) 评论(0) 推荐(0) 编辑
摘要: content 的字符串是 这个: <a href\="https://www.baidu.com?code\={0}">点击这里完成激活</a> uuid 是这个745f6baf-0a81-4180-b511-8d12a68d89e3 字符串, content = MessageFormat.fo 阅读全文
posted @ 2016-07-26 12:41 树下野鹿 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 上面是mail.properties 的配置文件 applicationContext.xml 下面是applicationContext.xml 测试代码 jar spring挺多jar包,还有就是mail jar包 目录结构 阅读全文
posted @ 2016-07-26 00:15 树下野鹿 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 在applicationContext.xml 有 <!-- 配置mapper扫描--> <p:bean class="org.mybatis.spring.mapper.MapperScannerConfigurer"> <p:property name="basePackage" value=" 阅读全文
posted @ 2016-07-24 22:20 树下野鹿 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 在web项目一定要写classpath来定位,classpath就是WIN-INF下classes下的东西, 一开始 <p:bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"> <p:propert 阅读全文
posted @ 2016-07-24 14:45 树下野鹿 阅读(283) 评论(0) 推荐(0) 编辑
摘要: ModelAndView 跳转问题 今天遇到了个纠结的问题,新创建了个controller类,import 相关的类: import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRespons 阅读全文
posted @ 2016-07-24 14:22 树下野鹿 阅读(747) 评论(0) 推荐(0) 编辑
摘要: 一开始是出现这个异常的 ava.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils 原因是缺少了这个包commons-lang3-3.2.jar ,如何后面加入包话,好像要重新将项目从tomcat中移除在上传才可以,不是是我 阅读全文
posted @ 2016-06-20 14:44 树下野鹿 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 我在学习整合spring和Hibernate的过程中,出现了,写错了Hibernate映射文件的错误,这个错误是这样的说的 org.hibernate.hql.internal.ast.QuerySyntaxException: Book is not mapped [SELECT b.price 阅读全文
posted @ 2016-06-18 19:33 树下野鹿 阅读(182) 评论(0) 推荐(0) 编辑