{"record":{"id":"d99000f038bd26bc","repo":"apache/maven","slug":"the-specified-project-settings-file-does-not-exist-d99000","errorCode":null,"errorMessage":"The specified project settings file does not exist: ${projectSettingsFile}","messagePattern":"The specified project settings file does not exist: (.+?)","errorType":"exception","errorClass":"FileNotFoundException","httpStatus":null,"severity":"error","filePath":"impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java","lineNumber":640,"sourceCode":"            if (!Files.isRegularFile(userSettingsFile)) {\n                throw new FileNotFoundException(\"The specified user settings file does not exist: \" + userSettingsFile);\n            }\n        } else {\n            String userSettingsFileStr =\n                    context.protoSession.getEffectiveProperties().get(Constants.MAVEN_USER_SETTINGS);\n            if (userSettingsFileStr != null) {\n                userSettingsFile =\n                        context.userDirectory.resolve(userSettingsFileStr).normalize();\n            }\n        }\n\n        Path projectSettingsFile = null;\n        if (context.options().altProjectSettings().isPresent()) {\n            projectSettingsFile =\n                    context.cwd.resolve(context.options().altProjectSettings().get());\n\n            if (!Files.isRegularFile(projectSettingsFile)) {\n                throw new FileNotFoundException(\n                        \"The specified project settings file does not exist: \" + projectSettingsFile);\n            }\n        } else {\n            String projectSettingsFileStr =\n                    context.protoSession.getEffectiveProperties().get(Constants.MAVEN_PROJECT_SETTINGS);\n            if (projectSettingsFileStr != null) {\n                projectSettingsFile = context.cwd.resolve(projectSettingsFileStr);\n            }\n        }\n\n        Path installationSettingsFile = null;\n        if (context.options().altInstallationSettings().isPresent()) {\n            installationSettingsFile = context.cwd.resolve(\n                    context.options().altInstallationSettings().get());\n\n            if (!Files.isRegularFile(installationSettingsFile)) {\n                throw new FileNotFoundException(\n                        \"The specified installation settings file does not exist: \" + installationSettingsFile);","sourceCodeStart":622,"sourceCodeEnd":658,"githubUrl":"https://github.com/apache/maven/blob/e4093d4e120eac99d6bdce5ba67cace2f3085c97/impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java#L622-L658","documentation":"Error \"The specified project settings file does not exist: ${projectSettingsFile}\" thrown in apache/maven.","triggerScenarios":"Thrown at impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java:640 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e4093d4e120eac99d6bdce5ba67cace2f3085c97","analyzedAt":"2026-08-21T22:58:24.034Z","schemaVersion":2},"datasetVersion":"2026-08-21T23:17:16.201Z"}