Hello,
I am using Spring IDE 1.3.6
There is a IDE validation problem with the following bean definition relating to util: property-path, but the application runs fine.
Using the spring v1 definition validates OK.Code:<bean id="myHandlerInterceptor" class="com.example.MyHandlerInterceptor" parent="someParent"> <property name="productList"> <util:property-path path="productService.releasedProducts" /> </property> </bean>
Can you confirm whether this is a problem? If so, would it be fixed in the latest v2 of the spring IDE?Code:<bean id="myHandlerInterceptor" class="com.example.MyHandlerInterceptor" parent="someParent"> <property name="productList"> <bean id="productService.releasedProducts" class="org.springframework.beans.factory.config.PropertyPathFactoryBean"/> </property> </bean>
This the the error message in the IDE (with confidential bits blanked out):
Error registering bean with name '....HandlerInterceptor' defined in file [.....-servlet.xml]: Unexpected failure during bean definition parsing; nested exception is org.springframework.ide.eclipse.beans.core.BeanDef initionException: Error registering bean with name '....HandlerInterceptor' defined in file [...-servlet.xml]: Unknown property sub-element: <util: property-path> ........-servlet.xml line 121


Reply With Quote
