views:

34

answers:

2

Hi,

Is there any way to validate spring context xml files in eclipse? Features like:

  • Validate class attribute of bean
  • Validate bean references
  • Validating with autowireing perhaps?

We're not working with annotations on current project unfortunatly. I dislike the current workflow: "deploy it and get a nullpointer for a classname typo"

Thankyou

+2  A: 

Sure have a look here at Spring IDE

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

It does all you requested. (not sure about the autowire).

It even auto completes bean property and references.

Paul Whelan
+1  A: 

Spring Tools Suite http://www.springsource.com/products/sts is the official SpringSource Eclipse plugin for this sort of thing. It's also recently been submitted as part of a new project in Eclipse, so it should get integrated into either that project tooling, or even WTP. See http://www.eclipse.org/proposals/virgo/

ptomli