java.io.IOException: Cannot run program "C:\WINDOWS\Micros oft.NET\Framework\v4.0.30319\MSBuild.exe": CreateProcess error=2, The > system cannot find the file specified at > org.sonar.api.utils.command.CommandExecutor.execute(CommandExecutor.java:86) > at > org.sonar.dotnet.tools.stylecop.StyleCopRunner.execute(StyleCopRunner.java:143) > at > org.sonar.plugins.csharp.stylecop.StyleCopSensor.launchStyleCop(StyleCopSensor.java:122) > at > org.sonar.plugins.csharp.stylecop.StyleCopSensor.analyse(StyleCopSensor.java:106) > at > org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)*** > * > > at org.sonar.batch.phases.Phases.execute(Phases.java:93) at > org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)*** > * > > at org.sonar.batch.bootstrap.Module.start(Module.java:83) at > org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:111) at > org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:106) at > org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:101)

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via marc.info by Unknown author, 1 year ago
Cannot run program "C:\WINDOWS\Micros oft.NET\Framework\v4.0.30319\MSBuild.exe": CreateProcess error=2, The > system cannot find the file specified at > org.sonar.api.utils.command.CommandExecutor.execute(CommandExecutor.java:86
java.io.IOException: Cannot run program "C:\WINDOWS\Micros oft.NET\Framework\v4.0.30319\MSBuild.exe": CreateProcess error=2, The > system cannot find the file specified at > org.sonar.api.utils.command.CommandExecutor.execute(CommandExecutor.java:86) > at > org.sonar.dotnet.tools.stylecop.StyleCopRunner.execute(StyleCopRunner.java:143) > at > org.sonar.plugins.csharp.stylecop.StyleCopSensor.launchStyleCop(StyleCopSensor.java:122) > at > org.sonar.plugins.csharp.stylecop.StyleCopSensor.analyse(StyleCopSensor.java:106) > at > org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)*** > * > > at org.sonar.batch.phases.Phases.execute(Phases.java:93) at > org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)*** > * > > at org.sonar.batch.bootstrap.Module.start(Module.java:83) at > org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:111) at > org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:106) at > org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:101)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.