Error while running sonar scanner (Please provide compiled classes of your project with sonar.java.binaries property)

Sonarqube Version 8.1
SonarQube Scanner 4.0.0.1744

Error During running Sonar Scanner

ERROR: Error during SonarQube Scanner execution
org.sonar.java.AnalysisException: Please provide compiled classes of your project with sonar.java.binaries property

Sonar.properties

# Unique ID for this project
sonar.projectKey=xx
sonar.projectName=xx
sonar.projectVersion=8839480b86
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.language=js
sonar.nodejs.executable=/home/sonar/.nvm/versions/node/v13.5.0/bin/node
sonar.profile=node
sonar.sources=server
sonar.exclusions=server/xx/xxx.ts
sonar.c.file.suffixes=-
sonar.cpp.file.suffixes=-
sonar.objc.file.suffixes=-
sonar.pullrequest.key=6269
sonar.pullrequest.branch=xxxx
sonar.pullrequest.base=xx
#sonar.eslint.reportPaths=server/reportJS.json,server/reportTS.json
sonar.javascript.lcov.reportPaths=../lcov-xxx.info

I am analyzing javascript language, This error was not there before it started suddenly nothing was changed in sonar configuration

hello @Tibin_George_Kuriyan,

This can happen if you have Java source file in your project. Do you happen to have any .java or .jav file in your code base? Do you want to analyze it?

Hi @saberduck,
I just verified and found that .java files are there in my repo, I there a way I can ignore only .java files?