Not able to register a custom SPI

I could able to resolve this issue when I place the JAR file into KEYCLOAK_HOME/standalone/deployments/ jar file here
instead of "KEYCLOAK_HOME/providers/
Here is the references,

In the older version of Keycloak 3.4.0.FINAL version, the “TokenIntrospectProviderFactory” used to recognize at run time.

after that I also faced one issue that I was seeing " ERROR []"

I resolved this issue by adding the below plugin in POM.xml file,



I have the same pb for my custom SPI.

I make in my jboss-deployment-structure.xml 3 modules:

name=“org.keycloak.keycloak-server-spi” export=“true”
name=“org.keycloak.keycloak-server-spi-private” export=“true”
name=“org.keycloak.keycloak-services” export=“true”

Do you think i miss one config ?