z493612807
z493612807
关注数: 13
粉丝数: 2
发帖数: 23
关注贴吧数: 4
hibernate search 最近要用hibernate search + heritrix 做个东西 ,不知道各位有没有什么好的中文资料(英文看的不是太懂)?给个连个或是发我邮箱(
[email protected]
) 都可以 谢谢
spring3.0不自动注入 17:06:21,968 DEBUG http-80-2 support.DefaultListableBeanFactory:242 - Returning cached instance of singleton bean 'sessionFactory' 17:06:32,421 DEBUG http-80-2 support.DefaultListableBeanFactory:242 - Returning cached instance of singleton bean 'sessionFactory' sessionFactory is null 17:06:32,453 DEBUG http-80-2 support.DefaultListableBeanFactory:242 - Returning cached instance of singleton bean 'sessionFactory' 发现sessionFactory 不自动注入.不知道是什么原因。 beans.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.springframework.org%2Fschema%2Fbeans&urlrefer=2cfe664a6b89a7a8c06b489461ff152f" xmlns:xsi="http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance&urlrefer=8c31805956ebb9a7292762c26181562e" xmlns:context="http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.springframework.org%2Fschema%2Fcontext&urlrefer=eda4949cc9c44315ba915f719c8a3685" xmlns:aop="http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.springframework.org%2Fschema%2Faop&urlrefer=38f64d940c80f0c3bf17aabd28afbd76" xmlns:tx="http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.springframework.org%2Fschema%2Ftx&urlrefer=bb0d9ebc89556cf2cb6470e2fd70d1f8" xsi:schemaLocation=" http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.springframework.org%2Fschema%2Fbeans&urlrefer=2cfe664a6b89a7a8c06b489461ff152f http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.springframework.org%2Fschema%2Fbeans%2Fspring-beans-2.5.xsd&urlrefer=a5ad0ad63bffbdde1ad640fab45428c8 http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.springframework.org%2Fschema%2Faop&urlrefer=38f64d940c80f0c3bf17aabd28afbd76 http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.springframework.org%2Fschema%2Faop%2Fspring-aop-2.5.xsd&urlrefer=484701958736420a407fe78f86a6a026 http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.springframework.org%2Fschema%2Fcontext&urlrefer=eda4949cc9c44315ba915f719c8a3685 http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.springframework.org%2Fschema%2Fcontext%2Fspring-context-2.5.xsd&urlrefer=14af9bcb8bd3245400fb76d5aa52a6bf http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.springframework.org%2Fschema%2Ftx&urlrefer=bb0d9ebc89556cf2cb6470e2fd70d1f8 http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.springframework.org%2Fschema%2Ftx%2Fspring-tx-3.0.xsd&urlrefer=39ef648a0ec99ec2183497b3bcd07223" default-autowire="no"> <context:annotation-config/> <context:component-scan base-package="bbs.dao"/> <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"> <property name="driverClassName" value="com.mysql.jdbc.Driver"/> <property name="url" value="jdbc:mysql://localhost:3306/test"/> <property name="username" value="root"/>
1
下一页