My EL Expressions are not being evaluated under a MyFaces 2.3 and Spring Boot 2.0.3 application

后端 未结 1 1589
天命终不由人
天命终不由人 2021-01-17 06:28

I have a MyFaces application running under Spring Boot 2.0.3, all Servlets and Context Listeners are properly registered and configure

相关标签:
1条回答
  • 2021-01-17 07:21

    After days trying to solve this problem, changing and combining different codes and environments, from JDK 8 to 10, Tomcat 8 and 9, testing in MacOS and Windows 10,from the JSF 2.1 implementation of MyFaces to the brand new JSF 2.3 implementation supporting CDI, deployed this last one on a WildFly server, I just noticed, on my expensive 32'' high-resolution display, that my Managed Bean was named with indexBeanusing a stranger character i with small dots on its top of, it was a diarised ï that I don't know how it had placed or typed there. That was the reason my managed bean was never found no matter what configuration I used.

    I noticed this character on MacOS. On my Windows it seems harder to notice it. I think it's because of font differences, not hardware.

    I am ashamed but I will not delete this question. May this can help someone in the future. Programming and life problems are like this: most of the times the error is in the less expected place.

    Lesson learned.

    0 讨论(0)
提交回复
热议问题