Spring contextual XML validator for eclipse?

Is there a way to check context xml files in eclipse? Features:

  • Validate bean class attribute
  • Verify bean links
  • Is autwireing confirmation possible?

We do not work with annotations on the current project unfortunately. I don't like the current workflow: "Expand it and get a null pointer for typoo typo"

+3
source share
3 answers

Of course, see here Spring IDE

http://springide.org/project/wiki/SpringideInstall

He does everything you asked. (not sure about auto-drive).

It even automatically completes the bean property and links.

+4
+1

:

, " SpringSource" . http://marketplace.eclipse.org/search/site/STS.

, , ur ( → Spring → Spring) , enter image description here

After the new node is executed, it is created with the name "Spring Elements" . Right-click on this option and click on "Properties" and go to "Bean Support" and click on "Scan". This will show you the xml file in your project, just select and add. Now it will show you an error in the XML files

enter image description here

+1
source

Source: https://habr.com/ru/post/1736300/


All Articles