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, 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