-
May 9th, 2006, 09:32 AM
#1
Junit & applicationContext errors
Hi
I'm getting a frustrating error trying to run junit with ant:
Exception in constructor: testSavePolicy (org.springframework.beans.factory.BeanDefinitionS toreException: Line 11 in XML document from class path resource [WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Attribute "value" must be declared for element type "property". org.xml.sax.SAXParseException: Attribute "value" must be declared for element type "property".
The problem is I just can't see what's wrong with the xml:
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.Pr opertyPlaceholderConfigurer">
<property name="location" value="/WEB-INF/jdbc.properties"/>
</bean>
Any ideas?
Best DF
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules