'Class not found exception : javax/faces/component/UIComponent
I trying to upgrade myfaces from 2.0.18 to the latest 3.0.1 but I am getting Class not found exception with the below error
noClassDefFound: javax/faces/component/UIComponent
Could you please let me know what is causing this issue or where can i get this class to add.
Solution 1:[1]
Your issue is that version of MyFaces is for jakarta libs not javax libs.
From Apache MyFaces docs version 3.0.1:
"The upcoming Jakarta Faces 3.0. It's equals to JSF 2.3 but with "jakarta.faces" packages and constants instead of "javax.faces"."
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
