java.lang.IllegalArgumentException: Can't scan for javax.inject.Named, it is in a blacklisted system package -- you can override this by adding "!" or "!!" to the scan spec to disable system package blacklisting or system jar blacklisting respectively (see the docs)

GitHub | btbouwens | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 70#236157979

    GitHub | 10 months ago | btbouwens
    java.lang.IllegalArgumentException: Can't scan for javax.inject.Named, it is in a blacklisted system package -- you can override this by adding "!" or "!!" to the scan spec to disable system package blacklisting or system jar blacklisting respectively (see the docs)

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Can't scan for javax.inject.Named, it is in a blacklisted system package -- you can override this by adding "!" or "!!" to the scan spec to disable system package blacklisting or system jar blacklisting respectively (see the docs)

      at io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec.checkClassIsNotBlacklisted()
    2. io.github.lukehutch
      ScanResult.getNamesOfClassesImplementing
      1. io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec.checkClassIsNotBlacklisted(ScanSpec.java:478)
      2. io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec.getInterfaceName(ScanSpec.java:566)
      3. io.github.lukehutch.fastclasspathscanner.scanner.ScanResult.getNamesOfClassesImplementing(ScanResult.java:262)
      3 frames