Hi,

I'm using dynamic proxies for AOP with Spring 2.0.1 and have found that if I create the context as follows, weaving does not occur and no errors are produced.

Code:
final GenericApplicationContext context = new GenericApplicationContext();
		final XmlBeanDefinitionReader xmlReader = new XmlBeanDefinitionReader(
				context);

		xmlReader.loadBeanDefinitions(new ClassPathResource(
				"applicationContext.xml"));
When created as follows however, weaving does occur:

Code:
BeanFactory context = new ClassPathXmlApplicationContext("applicationContext.xml");
Here is a sample Eclipse project with my simple example.

http://hermesjms.com/people/colin/te...ngAOPIssue.zip

Is this a bug or am I missing something?

Regards,

Colin.
http://hermesjms.com