what is the correct maven dependency for spring 3.0.5-RELEASE and the javaconfig features (@Configuration, @Bean, etc.)?
I tried this: http://mvnrepository.com/artifact/org.s开发者_如何学Gopringframework.javaconfig/spring-javaconfig
But I got the error described here: http://forum.springsource.org/showthread.php?t=74730
That thread seems to imply that javaconfig is bundled with spring 3, but when I remove the explicit spring-javaconfig dependency (1.0.0.m3) it can't find the symbols.
I'm sure I'm missing something simple...
JavaConfig is part of core Spring as of Spring 3.0. So you just need to have a dependency on spring-context
.
精彩评论