Not able to build project and build fails with TypeNotPresentException.

Solution Verified - Updated -

Issue

  • The maven build doesn't complete successfully. We want to see BUILD SUCCESS.
  • Following are the logs
[INFO] --- features-maven-plugin:2.4.1:add-features-to-repo (add-features-to-repo) @ coreservices ---
[INFO] Copying bundle: org.apache.karaf.assemblies.features:standard:xml:features:2.4.1
[WARNING] Error injecting: org.apache.maven.wagon.providers.http.HttpWagon
java.lang.TypeNotPresentException: Type org.apache.maven.wagon.providers.http.HttpWagon not present

Environment

  • Red Hat JBoss Fuse
    • 6.2.1

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.