This custom Spring bean has not yet been parsed.

Hello. I wrote my spring beans just like default spring transaction library and make the jar. Next I wrote the applicationContext.xml



<beans xmlns="http://www.springframework.org/schema/beans"
  xmlns:flex="http://www.springframework.org/schema/flex"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:annpr="http://www.gubber.ru/schema/annpr"
       xmlns:tx="http://www.springframework.org/schema/tx"

       xsi:schemaLocation="
           http://www.springframework.org/schema/tx
           http://www.springframework.org/schema/tx/spring-tx.xsd
           http://www.gubber.ru/schema/annpr http://track.gubber.ru:8080/schema/annotationproxy/gubber-annpr.xsd">

    <annpr:annotation-driven />

    <tx:annotation-driven />
<!--Mapsrequestpathsat/*totheBlazeDSMessageBroker-->

</beans>




<tx:annotation-driven /> - it's ok, but the

<annpr:annotation-driven /> - gives me a warning

This custom Spring bean has not yet been parsed.
Reports custom Spring beans the types of which are not known to IntelJ Idea,
because the corresponding custom namespace handlers weren't run.



But spring is warking. What should I do to remove warning?

1 comment

If you put your cursor on the bean that has the warning a quick fix should pop up that will allow you to parse the bean definition.  You'll also get the benefit of code completion in the custom tags after that.

0

Please sign in to leave a comment.