Error creating bean with name 'ClassRealm{javascript}-org.sonar.plugins.javascript.eslint.EslintBrid

We receive many errors and the scan fails.

SonarQube version

can you help us?

Example of errors:

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘ClassRealm{javascript}-org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl’: Unsatisfied dependency expressed through constructor parameter 4; nested exception is org.springframework.beans.factory.UnsatisfiedDependency

Exception: Error creating bean with name ‘AnalysisTempFolder’ defined in org.sonar.scanner.analysis.AnalysisTempFolderProvider: Unsatisfied dependency expressed through method ‘provide’ parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘DefaultInputProject’ defined in org.sonar.scanner.scan.InputProjectProvider:
error-log.txt (17.8 KB)


When I look at your analysis log, I see it (approximately) ends with this:

Caused by: java.nio.file.AccessDeniedException: C:\Users\**redacted for privacy**

The troubleshooting docs include some advice on reading Java stacktraces. Basically, this last ‘Caused by’ is the heart of the problem: AccessDeniedException.

You need to make sure the user running analysis has full rights, recursive, to the directory analysis takes place in.