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

Thomas Andraschko edited comment on MYFACES-4643 at 11/23/23 4:51 PM:
----------------------------------------------------------------------

If you would like to work on it, please create a new issue with something like 
"Classpath scanning in DefaultAnnotationProvider broken on wildfly" - but as i 
said, i wont invest time, i can just give some advices.
vfs is a own jboss protocoll, not sure if the dir must exist to resolve that 
path.
it might also be just broken on jakarta or newer java version.
you just need to debug deeply through DefaultAnnotationProvider 


was (Author: tandraschko):
If you would like to work on it, please create a new issue with something like 
"Classpath scanning in DefaultAnnotationProvider broken on wildfly" - but as i 
said, i wont invest time, i can just give some advices.
vfs is a own jboss protocoll, not sure if the dir must exist to resolve that 
path.
it might also be just broken on jakarta or newer java version.
just need to debug deeply through DefaultAnnotationProvider 

> OmniFaces converters not found using CDI
> ----------------------------------------
>
>                 Key: MYFACES-4643
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4643
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 4.0.1
>            Reporter: Manuel K
>            Priority: Major
>         Attachments: primefaces-test.zip
>
>
> [As I wrote in the OmniFaces GitHub 
> repository|https://github.com/omnifaces/omnifaces/issues/744#issuecomment-1824172540]:
> When upgrading from OmniFaces 4.1 to 4.2/4.3 in our application (WildFly 30, 
> MyFaces 4.0.1), we get the following errors due to the change to the 
> _bean-discovery-mode_ discussed in the linked GitHub issue:
> {code:java}
> jakarta.faces.FacesException: Could not find any registered converter-class 
> by converterId : omnifaces.SelectItemsConverter {code}
> It especially happens when using the following context-param:
> {code:java}
> <context-param>
>     
> <param-name>org.apache.myfaces.annotation.USE_CDI_FOR_ANNOTATION_SCANNING</param-name>
>     <param-value>true</param-value>
> </context-param> {code}
> But in our application it even happens without it. Reproducer using 
> primefaces-test is attached. Run it using _mvn clean jetty:run -Pmyfaces40_ 
> and the exception appears.
> I would have thought that it would be an OmniFaces issue, but melloware 
> thinks it's a MyFaces issue.
>  



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

Reply via email to