Help Center/ CodeArts Check/ FAQs/ General Issues/ Why Am I Seeing Error CC.00040010.400?/ Error When the Findbugs Rules Are Used to Scan JSP Files
Updated on 2026-08-10 GMT+08:00

Error When the Findbugs Rules Are Used to Scan JSP Files

Symptom

Cause Analysis

Findbugs analyzes compiled class files, not Java source code. Configure to ignore uncompiled JSP files as the following figure.

When logs show warnings about .jsp files, exclude .jsp files in the code repository.

Solution

  • For versions later than secsolar1130, ignore JSP files by referring to Configuring Check Scope.
  • For versions earlier than secsolar1130, add a properties file to exclude .jsp files.
    1. Create a file named sonar-project.properties in the root directory of the code repository.
    2. Enter the following code in the sonar-project.properties file:
      sonar.findbugs.allowuncompiledcode=true  
      sonar.exclusions=**/*.jsp