{"record":{"id":"c3b1df7f2bfb3796","repo":"quarkusio/quarkus","slug":"failed-to-locate-pompropspath-on-the-classpath-c3b1df","errorCode":null,"errorMessage":"Failed to locate <pomPropsPath> on the classpath","messagePattern":"Failed to locate <pomPropsPath> on the classpath","errorType":"exception","errorClass":"MojoExecutionException","httpStatus":null,"severity":"error","filePath":"devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java","lineNumber":1707,"sourceCode":"            throws MojoExecutionException, DependencyResolutionException {\n\n        ResolvedDependency coreDeployment = null;\n        for (ResolvedDependency d : appModel.getDependencies()) {\n            if (d.isDeploymentCp() && d.getArtifactId().equals(\"quarkus-core-deployment\")\n                    && d.getGroupId().equals(IO_QUARKUS)) {\n                coreDeployment = d;\n                break;\n            }\n        }\n        if (coreDeployment == null) {\n            throw new MojoExecutionException(\n                    \"Failed to locate io.quarkus:quarkus-core-deployment on the application build classpath\");\n        }\n\n        final String pomPropsPath = \"META-INF/maven/io.quarkus/quarkus-bootstrap-maven-resolver/pom.properties\";\n        final InputStream devModePomPropsIs = DevModeMain.class.getClassLoader().getResourceAsStream(pomPropsPath);\n        if (devModePomPropsIs == null) {\n            throw new MojoExecutionException(\"Failed to locate \" + pomPropsPath + \" on the classpath\");\n        }\n        final Properties devModeProps = new Properties();\n        try (InputStream is = devModePomPropsIs) {\n            devModeProps.load(is);\n        } catch (IOException e) {\n            throw new MojoExecutionException(\"Failed to load \" + pomPropsPath + \" from the classpath\", e);\n        }\n        final String devModeGroupId = devModeProps.getProperty(\"groupId\");\n        if (devModeGroupId == null) {\n            throw new MojoExecutionException(\"Classpath resource \" + pomPropsPath + \" is missing groupId\");\n        }\n        final String devModeArtifactId = devModeProps.getProperty(\"artifactId\");\n        if (devModeArtifactId == null) {\n            throw new MojoExecutionException(\"Classpath resource \" + pomPropsPath + \" is missing artifactId\");\n        }\n        final String devModeVersion = devModeProps.getProperty(\"version\");\n        if (devModeVersion == null) {\n            throw new MojoExecutionException(\"Classpath resource \" + pomPropsPath + \" is missing version\");","sourceCodeStart":1689,"sourceCodeEnd":1725,"githubUrl":"https://github.com/quarkusio/quarkus/blob/e1c734241f34c7919086ceb4c9262b4a58f6de44/devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java#L1689-L1725","documentation":"DevMojo loads the pom.properties resource of quarkus-bootstrap-maven-resolver from its own classloader to determine dev-mode coordinates. If that classpath resource cannot be found it throws this MojoExecutionException. It signals a broken or incomplete quarkus-bootstrap-maven-resolver jar on the plugin classpath.","triggerScenarios":"DevMojo.class / DevModeMain classloader returns null for META-INF/maven/io.quarkus/quarkus-bootstrap-maven-resolver/pom.properties — i.e. the resolver jar is missing, stripped, or repackaged without its META-INF/maven metadata.","commonSituations":"A partially downloaded or corrupted local Maven repository jar; an uber/relocated repackaging of quarkus-bootstrap-maven-resolver; aggressive jar filtering (minimizeJar) or shaded builds dropping META-INF/maven; proxy-mirrored repository serving truncated artifacts.","solutions":["Delete the io/quarkus/quarkus-bootstrap-maven-resolver directory from the local repository (~/.m2/repository) and rebuild with -U to re-download","Upgrade or reinstall the quarkus-maven-plugin to a consistent Quarkus version","Check that no shade/minimize configuration strips META-INF/maven from plugin dependencies"],"exampleFix":"// before\n# corrupted local artifact\nrm -rf ~/.m2/repository/io/quarkus/quarkus-bootstrap-maven-resolver\nmvn -U quarkus:dev","handlingStrategy":"validation","validationCode":"unzip -p ~/.m2/repository/io/quarkus/quarkus-bootstrap-maven-resolver/<v>/quarkus-bootstrap-maven-resolver-<v>.jar META-INF/maven/io.quarkus/quarkus-bootstrap-maven-resolver/pom.properties","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Keep the local repository clean; re-download artifacts showing odd behavior","Never repackage/shade quarkus bootstrap jars","Pin plugin and platform versions together"],"tags":["maven","classpath","corrupt-artifact","dev-mode"],"backgroundTag":"missing-classpath-resource","analyzedSha":"e1c734241f34c7919086ceb4c9262b4a58f6de44","analyzedAt":"2026-09-05T17:01:29.979Z","contentChangedAt":"2026-09-05T17:01:29.979Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}