Error building default camel-archetype-cxf-code-first-blueprint project

Solution Verified - Updated -

Issue

I am using JBDS 8.1,
New -> Fuse Project -> name it -> pick camel-archetype-cxf-code-first-blueprint -> finish
In the newly created project right click on blueprint.xml -> Run As -> Local Camel Context (without tests)
See error:

org.osgi.framework.ServiceException: Service factory exception: org/apache/aries/proxy/impl/interfaces/InterfaceProxyGenerator
Caused by: java.lang.IncompatibleClassChangeError: org/apache/aries/proxy/impl/interfaces/InterfaceProxyGenerator

Unable to start bundle: org.apache.cxf.cxf-rt-transports-http [19]
Caused by: java.lang.ClassNotFoundException: javax.servlet.Servlet

[mel.test.blueprint.Main.main()] NamespaceHandlerRegisterer     WARN  Aries Blueprint packages not available. So namespaces will not be registered
java.lang.NoClassDefFoundError: org/apache/aries/blueprint/NamespaceHandler

Environment

Red Hat JBoss Developer Studio 8.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content