{"id":16219,"date":"2021-04-22T17:58:48","date_gmt":"2021-04-22T15:58:48","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/"},"modified":"2021-04-22T17:58:48","modified_gmt":"2021-04-22T15:58:48","slug":"maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/","title":{"rendered":"Maven: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher"},"content":{"rendered":"<p>Working on Jenkins and Artifactory I often seen options suggesting Maven tool,but what is Maven purpose?How can we use and install it on a Windows system?During this install you may encounter some kind of issues<\/p>\n<h3>Introduction<\/h3>\n<p>Maven is a tool that can be used for building and managing any Java-based project ( In our case we will use it on Jenkins )<br \/>\nMaven builds a project using its project object model (POM) and a set of plugins<br \/>\nMore info about Apache Maven following their site:<br \/>\n<a href=\"https:\/\/maven.apache.org\/index.html\">https:\/\/maven.apache.org\/index.html<\/a><br \/>\nWe will see now how to install it and avoid installation issues<\/p>\n<h3>Installation<\/h3>\n<ul>\n<li>Prerequisites<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR1DLPREREQ.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-49338\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR1DLPREREQ.png\" alt=\"\" width=\"692\" height=\"113\" \/><\/a><\/p>\n<ul>\n<li>Install Java<\/li>\n<\/ul>\n<p>You must have Java installed to install Maven<br \/>\n<a href=\"https:\/\/www.oracle.com\/java\/technologies\/javase-downloads.html\">https:\/\/www.oracle.com\/java\/technologies\/javase-downloads.html<\/a><br \/>\nOnce installed you can verify your Java version<br \/>\n<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR1DLJAVA.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-49340\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR1DLJAVA.png\" alt=\"\" width=\"691\" height=\"159\" \/><\/a><\/p>\n<ul>\n<li>Install Maven<\/li>\n<\/ul>\n<p>Maven installation link<br \/>\n<a href=\"https:\/\/maven.apache.org\/install.html\">https:\/\/maven.apache.org\/install.html<\/a><br \/>\nThe installation of Apache Maven is a simple process of extracting the archive and adding the `bin` folder with the `mvn` command to the `PATH`<\/p>\n<ul>\n<li>Download the file on first line<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR1DL.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-49341\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR1DL.png\" alt=\"\" width=\"1901\" height=\"775\" \/><\/a><\/p>\n<ul>\n<li>Create a folder named Maven and uncompress the tar file<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR1DLPATH.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-49342\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR1DLPATH.png\" alt=\"\" width=\"1624\" height=\"380\" \/><\/a><\/p>\n<h3>Issue encountered when launching a Maven command<\/h3>\n<p>When going into bin folder to start the command mvn -v we get this error<\/p>\n<pre class=\"brush: c; gutter: true; first-line: 1\">C:\\Users\\nso&gt;cd C:\\Program Files\\maven\\apache-maven-3.8.1\\bin\n\nC:\\Program Files\\maven\\apache-maven-3.8.1\\bin&gt;java -version\njava version \"1.8.0_271\"\nJava(TM) SE Runtime Environment (build 1.8.0_271-b09)\nJava HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)\n\nC:\\Program Files\\maven\\apache-maven-3.8.1\\bin&gt;mvn -v\nError: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher<\/pre>\n<p>The reason is that environment variable value are not correctly set<\/p>\n<ul>\n<li>Go to environment variable options on your machine:<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR2A-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-49345\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR2A-1.png\" alt=\"\" width=\"720\" height=\"305\" \/><\/a><\/p>\n<ul>\n<li>Add Java home variable<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR2B.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-49347\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR2B.png\" alt=\"\" width=\"769\" height=\"830\" \/><\/a><\/p>\n<ul style=\"list-style-type: disc\">\n<li>Add Maven environment variable:<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-49350\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR3.png\" alt=\"\" width=\"754\" height=\"445\" \/><\/a><\/p>\n<ul>\n<li>Define the Maven home<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVARmav.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-49373\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVARmav.png\" alt=\"\" width=\"681\" height=\"719\" \/><\/a><\/p>\n<ul style=\"list-style-type: disc\">\n<li>Check if variable are correctly set for JAVA and MAVEN<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAROK.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-49351\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAROK.png\" alt=\"\" width=\"748\" height=\"152\" \/><\/a><\/p>\n<ul style=\"list-style-type: disc\">\n<li>Test command again to check if Maven is correctly installed and issue fixed<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVRSOK.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-49352\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVRSOK.png\" alt=\"\" width=\"978\" height=\"322\" \/><\/a><\/p>\n<h3>Conclusion<\/h3>\n<p>Here we are Maven is correctly installed on your Windows post you can now use it for your Jenkins builds and associate it with Artifactory!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Working on Jenkins and Artifactory I often seen options suggesting Maven tool,but what is Maven purpose?How can we use and install it on a Windows system?During this install you may encounter some kind of issues Introduction Maven is a tool that can be used for building and managing any Java-based project ( In our case&hellip;&nbsp;<\/p>\n","protected":false},"author":40,"featured_media":16220,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[1320],"tags":[],"class_list":["post-16219","post","type-post","status-publish","format-standard","has-post-thumbnail","category-devops"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Maven: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher - dbi services Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Maven: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher\" \/>\n<meta property=\"og:description\" content=\"Working on Jenkins and Artifactory I often seen options suggesting Maven tool,but what is Maven purpose?How can we use and install it on a Windows system?During this install you may encounter some kind of issues Introduction Maven is a tool that can be used for building and managing any Java-based project ( In our case&hellip;&nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-22T15:58:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR1DLPREREQ.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1551\" \/>\n\t<meta property=\"og:image:height\" content=\"252\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Middleware Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Middleware Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\\\/\"},\"author\":{\"name\":\"Middleware Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/8a0bfec3c3bd1f27d3d452eaa592bfb8\"},\"headline\":\"Maven: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher\",\"datePublished\":\"2021-04-22T15:58:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\\\/\"},\"wordCount\":300,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/MAVENVAR1DLPREREQ.png\",\"articleSection\":[\"DevOps\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\\\/\",\"name\":\"Maven: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/MAVENVAR1DLPREREQ.png\",\"datePublished\":\"2021-04-22T15:58:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/MAVENVAR1DLPREREQ.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/MAVENVAR1DLPREREQ.png\",\"width\":1551,\"height\":252},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Maven: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/8a0bfec3c3bd1f27d3d452eaa592bfb8\",\"name\":\"Middleware Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"caption\":\"Middleware Team\"},\"description\":\"Posts published under the Middleware Team account are collective contributions by the dbi services middleware and enterprise content management consultants. The practice covers ECM platforms such as OpenText Documentum, Alfresco, and M-Files, as well as application servers and integration technologies including WebLogic, JBoss, Tomcat, and the Elastic Stack, from architecture and deployment to operations under service level agreements.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/middleware-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Maven: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher - dbi services Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/","og_locale":"en_US","og_type":"article","og_title":"Maven: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher","og_description":"Working on Jenkins and Artifactory I often seen options suggesting Maven tool,but what is Maven purpose?How can we use and install it on a Windows system?During this install you may encounter some kind of issues Introduction Maven is a tool that can be used for building and managing any Java-based project ( In our case&hellip;&nbsp;","og_url":"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2021-04-22T15:58:48+00:00","og_image":[{"width":1551,"height":252,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR1DLPREREQ.png","type":"image\/png"}],"author":"Middleware Team","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Middleware Team","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/"},"author":{"name":"Middleware Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8a0bfec3c3bd1f27d3d452eaa592bfb8"},"headline":"Maven: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher","datePublished":"2021-04-22T15:58:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/"},"wordCount":300,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR1DLPREREQ.png","articleSection":["DevOps"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/","url":"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/","name":"Maven: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR1DLPREREQ.png","datePublished":"2021-04-22T15:58:48+00:00","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR1DLPREREQ.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/MAVENVAR1DLPREREQ.png","width":1551,"height":252},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/maven-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-launcher-launcher\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Maven: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8a0bfec3c3bd1f27d3d452eaa592bfb8","name":"Middleware Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","caption":"Middleware Team"},"description":"Posts published under the Middleware Team account are collective contributions by the dbi services middleware and enterprise content management consultants. The practice covers ECM platforms such as OpenText Documentum, Alfresco, and M-Files, as well as application servers and integration technologies including WebLogic, JBoss, Tomcat, and the Elastic Stack, from architecture and deployment to operations under service level agreements.","url":"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/16219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=16219"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/16219\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/16220"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=16219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=16219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=16219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}