Run manual maven build in image based on jboss-webserver-5/webserver50-tomcat9-openshift

Solution Verified - Updated -

Issue

  • Cannot run maven build manually in image based in registry.redhat.io/jboss-webserver-5/webserver50-tomcat9-openshift
  • mvn -v gives the following error:

    Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
    

Environment

  • Red Hat JBoss Web Server (JWS)
    • 5
    • registry.redhat.io/jboss-webserver-5/webserver50-tomcat9-openshift container image

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