最近工做总结

一、red5 scope not find web

spring配置文件不当心加入了default-lazy-init="true",致使application没有初始化,看来延迟加载也不是何时都能用的。 spring

二、spring-mybatis配置不正确致使,properties加载不正确 sql

<!--mybatis于spring集成  -->
	<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
		<property name="dataSource" ref="dataSource" />
		<property name="typeAliasesPackage" value="cc.quanxi.qxt.web.dao.bean" />
		<!-- 显式指定Mapper文件位置 -->
		<property name="mapperLocations" value="classpath:mybatis/mapper/*Mapper.xml" />
	</bean>
	<bean id="MapperScannerConfigurer" class="org.mybatis.spring.mapper.MapperScannerConfigurer">
   		<!--<property name="sqlSessionFactoryBeanName" value="sqlSessionFactory" />
		<property name="sqlSessionFactory" ref="sqlSessionFactory" /> -->
		<property name="basePackage" value="cc.quanxi.qxt.web.dao.mybatis.mapper" />
	</bean>
相关文章
相关标签/搜索