Description
Hi,
I'm trying to run simple spring core with Spring Circular dependency + Setter Dependency Injection + Java Config => Getting Exception. It's working fine with XML config. but its failing with java config. I'm not able to understand what is the problem.
Attached required files to replicate the issue locally.
Spring Circular dependency + Setter Dependency Injection + Java Config => Getting Exception
Spring Circular dependency + Setter Dependency Injection + XMLConfig => Working Fine
Attached Files for debugging purpose
Exception in thread "main" java.lang.NoClassDefFoundError: org.springframework.beans.FatalBeanExceptionException in thread "main" java.lang.NoClassDefFoundError: org.springframework.beans.FatalBeanException at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
circular.zip