Here is an execption.
2004-10-18 17:03:55 StandardContext[/servicerants]Servlet /servicerants threw load() exception
javax.servlet.ServletException: Servlet.init() for servlet context threw exception
...
----- Root Cause -----
org.springframework.beans.factory.BeanDefinitionSt oreException: Line 73 in XML document from resource [/WEB-INF/applicationContext-hibernate.xml] of ServletContext is invalid; nested exception is org.xml.sax.SAXParseException: Attribute "abstract" must be declared for element type "bean".
org.xml.sax.SAXParseException: Attribute "abstract" must be declared for element type "bean".
...
However, on the line 73 of the applicationContext-biberante.xml, the bean is declared as abstract as the following:
<bean id="baseTransactionProxy" class="org.springframework.transaction.interceptor .TransactionProxyFactoryBean"
abstract="true">
<property name="transactionManager"><ref bean="transactionManager"/></property>
<property name="transactionAttributes">
<props>
<prop key="get*">PROPAGATION_REQUIRED,readOnly</prop>
<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
<prop key="load*">PROPAGATION_REQUIRED,readOnly</prop>
<prop key="store*">PROPAGATION_REQUIRED</prop>
</props>
</property>
</bean>
What is wrong here?


Reply With Quote