I tried using the new Spring Java Configuration library to create a few beans. My project works (I am able to access and instantiate beans defined in the class file with @Bean annotations), but I cannot see these beans in the Spring / Project Explorer views as mentioned in this blog entry: http://springide.org/blog/2007/05/18...ng-javaconfig/
In my XML configuration file, I have defined a simple bean pointing to the Java class and I have also defined a configuration post processor bean, so my XML file looks similar to this:
<bean id="config" class="blog.javaconfig.JavaCfg" />
<bean id="processor" class="org.springframework.config.java.process.Con figurationPostProcessor" />
If I expand the node for this configuration file in the Spring Explorer view, I see these two beans but none of the beans defined in the JavaCfg class.
I tried this in STS RC1 and in SpringIDE 2.0.4 + Europa-J2EE.
Everything else seems to work and I do have 2 Spring IDE javaconfig plugins loaded.
Any ideas if I'm doing something wrong or if additional configuration is required?
Thanks.


Reply With Quote
