-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native compile error: Discovered unresolved method during parsing: jakarta.el.ELResolver.getFeatureDescriptors #492
Comments
@redddcyclone what the issue was is that somehow you have a dependency in your pom.xml bringing in the wrong EL like "Nevermind Had to remove GlassFish EL it looks like MyFaces includes JASPER EL 11.0.0-M1" |
If you can provide your pom.xml it may help? |
I see that the package jakarta.el-api version 5.0.1 (which contains the method described in the error) is brought by quarkus-reactive-routes and quarkus-narayana-jta. I already tried excluding this dependency from both dependencies but the problem still happens. I'll post the pom.xml in a few minutes |
thx |
pom.xml is as follows: (indentation is a bit broken because of mixed tabs and spaces)
|
Should I remove tomcat-el-api 11.0.0-M1 instead? Maybe I actually tried excluding the wrong dependency |
try that i will also investigate on my side. I think I need to make a fix in Quarkus PrimeFaces to support this but go ahead and try that first. |
@melloware I excluded tomcat-el-api 11.0.0-M1 from myfaces-quarkus itself, as in:
After doing this, the native image was built just fine. Do you think something should be done about this in myfaces-quarkus and/or quarkus-primefaces? Anyway, I'm gonna test the image now. Thanks a lot for your help as always! |
Yep I am going to fix it in MyFaces. It should NOT be including JASPER EL it should be deferring toi Quarkus. |
I was able to reproducer your bug here: https://github.com/quarkiverse/quarkus-primefaces/actions/runs/11501165271/job/32013126752 I just added Reactive Routes and got the issue! |
@redddcyclone i opened this MYFACES ticket to get it fixed: https://issues.apache.org/jira/browse/MYFACES-4687 |
PR submitted that fixes this: apache/myfaces#773 |
Great, thanks a lot for fixing this bug! Should I close this issue or leave it open for the time being? |
lets leave this open for others to see until the next MyFaces releases comes out and then I will update this ticket. |
Hello,
First of all, I can't exactly say this issue is related to quarkus-faces, but I used it as reference and couldn't think of a better place to ask for help with the following problem.
I'm getting these errors when trying to build a native image for my project with myfaces-quarkus 4.0.2 and quarkus-primefaces 3.14.6.3:
I see @melloware had already reported this at https://issues.apache.org/jira/browse/MYFACES-4579, but I couldn't solve this problem on my own.
Do you know what might be causing this?
Thanks in advance!
The text was updated successfully, but these errors were encountered: