SonarCloud is not able to scan java code in my project

I m using sonar to scan my project but it does not scan my java files can someone please help only html and javascripts files are being scanned

Hello and welcome to the community,

Your post is lacking a bit of detail and information for us to be able to help…

What ALM are you using ?
What CI system are you using ? What’s the configuration and command you use ?
What did you try already to fix the issue ?
Did you observe some errors in the scanner logs ?