You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Richard Zowalla (Jira)" <ji...@apache.org> on 2023/02/09 18:11:00 UTC

[jira] [Commented] (TOMEE-4184) Getting error No ConfigProviderResolver implementation found! for microprofile API when deployed

    [ https://issues.apache.org/jira/browse/TOMEE-4184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17686686#comment-17686686 ] 

Richard Zowalla commented on TOMEE-4184:
----------------------------------------

I downloaded TomEE 9.0.0 Microprofile and looked into the lib folder, whoch contains the following JAR files:


{code:java}
-rw-r--r-- 1 rz rz  18K Jan  3 09:44 microprofile-config-api-3.0.2.jar
-rw-r--r-- 1 rz rz  34K Jan  3 09:44 smallrye-config-3.0.0.jar
-rw-r--r-- 1 rz rz  12K Jan  3 09:44 smallrye-config-common-3.0.0.jar
-rw-r--r-- 1 rz rz 261K Jan  3 09:44 smallrye-config-core-3.0.0.jar
{code}

Note, that TomEE 9 uses the MP impl from Smallrye instead of Geronimo. 

Might be interesting to debug and see, why it doesn't find the configured META-INF/services/org.eclipse.microprofile.config.spi.ConfigSource from within mp-common.



> Getting error No ConfigProviderResolver implementation found! for microprofile API when deployed 
> -------------------------------------------------------------------------------------------------
>
>                 Key: TOMEE-4184
>                 URL: https://issues.apache.org/jira/browse/TOMEE-4184
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 9.0.0
>            Reporter: Yugandher reddy vonteddu
>            Priority: Major
>         Attachments: catalina.0.log
>
>
> Hello Team,
> we dont see any implementation library for microprofile-config-api-3.0.2.jar in TomEE 9.0.0
>  
> earlier for TomEE 8.0.14 we have geronimo-config-impl-1.2.1.jar for microprofile-config-api-1.3.jar
>  
> We are facing below error after deploy our application
>  
> Caused by: java.lang.IllegalStateException: No ConfigProviderResolver implementation found!
>     at org.eclipse.microprofile.config.spi.ConfigProviderResolver.loadSpi(ConfigProviderResolver.java:138)
>     at org.eclipse.microprofile.config.spi.ConfigProviderResolver.instance(ConfigProviderResolver.java:124)
>  
> Attached log for more details
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)