title: NoClassDefFoundError: ComponentExtension in Apache Camel
body: <p>After an upgrade to Apache Camel 2.21.1, my application is failing to start. Specifically, the upgrade to camel-aws causes the application to throw this error on startup:</p>
  
  <blockquote>
    <p>Error creating bean with name 'incomingEndpoint': FactoryBean threw
    exception on object creation; nested exception is
    java.lang.NoClassDefFoundError:
    org/apache/camel/component/extension/ComponentExtension</p>
  </blockquote>
  
  <p>Here are my related dependencies:</p>
  
  <pre><code>&lt;properties&gt;
          &lt;apache.camel.version&gt;2.21.1&lt;/apache.camel.version&gt;
  &lt;/properties&gt;
  &lt;dependencies&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
      &lt;artifactId&gt;camel-core&lt;/artifactId&gt;
      &lt;version&gt;${apache.camel.version}&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
      &lt;artifactId&gt;camel-aws&lt;/artifactId&gt;
      &lt;version&gt;${apache.camel.version}&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
      &lt;artifactId&gt;camel-test&lt;/artifactId&gt;
      &lt;version&gt;${apache.camel.version}&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
      &lt;artifactId&gt;camel-http4&lt;/artifactId&gt;
      &lt;version&gt;${apache.camel.version}&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>Has anyone else experienced this recently? My application works when I switch the camel-aws dependency to version to 2.19.2.</p>