Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via SonarSource JIRA by Simon Brandhof, 2 years ago
via SonarSource JIRA by Michael Rumpf, 1 year ago
Sonar server can not be reached at http://localhost:8080/sonar. Please check the parameter 'sonar.host.url'.
via SonarSource JIRA by Pit Skywalker, 2 years ago
Sonar server can not be reached at https://localhost/sonar. Please check the parameter 'sonar.host.url'.
via SonarSource JIRA by Alexandre Navarro, 1 year ago
via SonarSource JIRA by Olivier Gaudin, 2 years ago
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot read the sonar-pom.xml at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:603) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:532) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:502) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:350) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:247) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:162) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:302) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375)Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot read the sonar-pom.xml at ch.hortis.sonar.mvn.SonarMojo.saveSonarPom(SonarMojo.java:204) at ch.hortis.sonar.mvn.SonarMojo.saveExecutedProjects(SonarMojo.java:221) at ch.hortis.sonar.mvn.SonarMojo.executeMaven(SonarMojo.java:244) at ch.hortis.sonar.mvn.SonarMojo.executeGoals(SonarMojo.java:231) at ch.hortis.sonar.mvn.SonarMojo.execute(SonarMojo.java:116) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:466) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:578) ... 16 moreCaused by: org.apache.maven.project.InvalidProjectModelException: Resolving expression: '${project.basedir}': Detected the following recursive expression cycle: [] for project org.sonar.samples:main-sample at /Users/sbrandhof/projects/sonar/svn/trunk/samples/main-sample/${project.basedir}/target/sonar/sonar-pom.xml at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:884) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:227) at org.apache.maven.project.DefaultMavenProjectBuilder.buildWithDependencies(DefaultMavenProjectBuilder.java:357) at org.apache.maven.project.DefaultMavenProjectBuilder.buildWithDependencies(DefaultMavenProjectBuilder.java:345) at ch.hortis.sonar.mvn.SonarMavenEmbedder.readProjectWithDependencies(SonarMavenEmbedder.java:109) at ch.hortis.sonar.mvn.SonarMojo.saveSonarPom(SonarMojo.java:200) ... 22 moreCaused by: org.apache.maven.project.interpolation.ModelInterpolationException: Resolving expression: '${project.basedir}': Detected the following recursive expression cycle: [] at org.apache.maven.project.interpolation.RegexBasedModelInterpolator.interpolate(RegexBasedModelInterpolator.java:252) at org.apache.maven.project.interpolation.RegexBasedModelInterpolator.interpolate(RegexBasedModelInterpolator.java:157) at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:997) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880) ... 28 moreCaused by: org.codehaus.plexus.interpolation.InterpolationException: Resolving expression: '${project.basedir}': Detected the following recursive expression cycle: [] at org.codehaus.plexus.interpolation.RegexBasedInterpolator.interpolate(RegexBasedInterpolator.java:210) at org.codehaus.plexus.interpolation.RegexBasedInterpolator.interpolate(RegexBasedInterpolator.java:227) at org.codehaus.plexus.interpolation.RegexBasedInterpolator.interpolate(RegexBasedInterpolator.java:179) at org.apache.maven.project.interpolation.RegexBasedModelInterpolator.interpolate(RegexBasedModelInterpolator.java:248) ... 31 more