title: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/logging/log4j/util/ReflectionUtil
body: <p>I am using following version of corda -</p>
  
  <pre><code>buildscript {
      ext.corda_release_version = '2.0.0'
      ext.corda_gradle_plugins_version = '1.0.0'
  </code></pre>
  
  <p>I am using following version of spring boot web server -</p>
  
  <pre><code>buildscript {
      ext.spring_boot_version = '1.5.7.RELEASE'
      ext.spring_version = '4.3.11.RELEASE'
  }
  </code></pre>
  
  <p>I am using following version of log4j -</p>
  
  <pre><code>dependencies {
  
  compile "org.apache.logging.log4j:log4j-web:2.7"
  </code></pre>
  
  <p>Following error is thrown while compiling - </p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/logging/log4j/util/ReflectionUtil
          at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:42)
          at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:46)
          at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)
          at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358)
          at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
          at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132)
          at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:273)
          at org.springframework.boot.SpringApplication.&lt;clinit&gt;(SpringApplication.java:179)
          at net.corda.server.ServerKt.main(Server.kt:29)
  Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.util.ReflectionUtil
          at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
          ... 9 more
  </code></pre>
  
  <p>Expecting insights. </p>
  
  <p>Thanks in advance. </p>