s2sh异常
jdk1.6, tomcat7.0 ,struts2.3.4,spring3.2,hibernate4.
警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server: did not find a matching property.
2012-11-12 22:28:46 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
2012-11-12 22:28:46 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2012-11-12 22:28:51 org.apache.coyote.AbstractProtocol start
用这个方法没用: http://blog.csdn.net/c_4818/article/details/6818481
求大家指导
[最优解释]
应该是spring 配置问题
[其他解释]
把你的配置文件代码贴出来,你在配置某个bean是设置source属性出错,该bean没有这个属性。
[其他解释]
classpath:jdbc.properties
<list>
<value>com.assistant.model</value>
</list>
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">
org.hibernate.dialect.MySQLDialect
</prop>
<prop key="hibernate.show_sql">true</prop>
<prop key="hbm2ddl.auto">create</prop>
<prop key="current_session_context_class">thread</prop>
<prop key="javax.persistence.validation.mode">none</prop>
</props>
</property>
</bean>
<bean id="hibernateTemplate" class="org.springframework.orm.hibernate3.HibernateTemplate">
<property name="sessionFactory" ref="sessionFactory"></property>
</bean>
<bean id="txManager"
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="sessionFactory" ref="sessionFactory" />
</bean>
<aop:config>
<aop:pointcut id="bussinessService"
expression="execution(public * com.assistant.service.*.*(..))" />
<aop:advisor pointcut-ref="bussinessService"
advice-ref="txAdvice" />
</aop:config>
<tx:advice id="txAdvice" transaction-manager="txManager">
<tx:attributes>
<tx:method name="exists" read-only="true" />
<tx:method name="add*" propagation="REQUIRED"/>
<tx:method name="update*" propagation="REQUIRED"/>
<tx:method name="delete*" propagation="REQUIRED"/>
<tx:method name="save*" propagation="REQUIRED"/>
</tx:attributes>
</tx:advice>
</beans>
[其他解释]