Your project contains .java files, please provide compiled classes with sonar.java.binaries property code example
Example: org.sonar.java.AnalysisException: Please provide compiled classes of your project with sonar.java.binaries property
sonar.projectVersion=1.0
sonar.sources=src/main/java
sonar.sourceEncoding=UTF-8
sonar.language=java
sonar.java.binaries=target/classes