title: Spring Boot 2.0.0.M1 error Caused by: java.lang.ClassNotFoundException: org.springframework.aop.framework.AopProxyUtils
body: <p>I am trying out the new Spring-boot 2.0.0.M1. I initialized the project, just choosing the <code>Web</code> dependency, using <a href="https://start.spring.io/" rel="nofollow noreferrer">https://start.spring.io/</a>. </p>
  
  <p>I opened this generated project in eclipse and I am getting following error while running <code>mvn clean install</code> on it: </p>
  
  <pre><code>    Exception in thread "main" java.lang.IllegalArgumentException: Cannot instantiate interface org.springframework.boot.SpringApplicationRunListener : org.springframework.boot.context.event.EventPublishingRunListener
      at org.springframework.boot.SpringApplication.createSpringFactoriesInstances(SpringApplication.java:450)
      at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:429)
      at org.springframework.boot.SpringApplication.getRunListeners(SpringApplication.java:415)
      at org.springframework.boot.SpringApplication.run(SpringApplication.java:323)
      at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
      at org.springframework.boot.SpringApplication.run(SpringApplication.java:1278)
      at com.example.demo.DemoApplication.main(DemoApplication.java:12)
  Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.context.event.EventPublishingRunListener]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/aop/framework/AopProxyUtils
      at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:157)
      at org.springframework.boot.SpringApplication.createSpringFactoriesInstances(SpringApplication.java:446)
      ... 6 more
  Caused by: java.lang.NoClassDefFoundError: org/springframework/aop/framework/AopProxyUtils
      at org.springframework.context.event.AbstractApplicationEventMulticaster.addApplicationListener(AbstractApplicationEventMulticaster.java:104)
      at org.springframework.boot.context.event.EventPublishingRunListener.&lt;init&gt;(EventPublishingRunListener.java:55)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:145)
      ... 7 more
  Caused by: java.lang.ClassNotFoundException: org.springframework.aop.framework.AopProxyUtils
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  </code></pre>
  
  <p>Did anyone face similar issue? Please help.</p>