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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.