Use jakarta.el instead of jakarta.faces.el and javax.faces.el
MSALSeveral classes were removed and replaced in Jakarta Faces 3.0. The only Object definition not removed in the jakarta.faces.el package is the CompositeComponentExpressionHolder interface.
org. openrewrite. java. migrate. jakarta. RemovedJakartaFacesExpressionLanguageClassesmod run . --recipe= org. openrewrite. java. migrate. jakarta. RemovedJakartaFacesExpressionLanguageClassesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Change type
MethodBindingtoMethodExpression - Change type
MethodBindingtoMethodExpression - Change type
PropertyResolvertoELResolver - Change type
PropertyResolvertoELResolver - Change type
ValueBindingtoValueExpression - Change type
ValueBindingtoValueExpression - Change type
VariableResolvertoELResolver - Change type
VariableResolvertoELResolver - Change type
EvaluationExceptiontoELException - Change type
EvaluationExceptiontoELException - Change type
javax.faces.el.MethodNotFoundExceptiontojakarta.el.MethodNotFoundException - Change type
jakarta.faces.el.MethodNotFoundExceptiontojakarta.el.MethodNotFoundException - Change type
javax.faces.el.PropertyNotFoundExceptiontojakarta.el.PropertyNotFoundException - Change type
jakarta.faces.el.PropertyNotFoundExceptiontojakarta.el.PropertyNotFoundException - Change type
ReferenceSyntaxExceptiontoELException - Change type
ReferenceSyntaxExceptiontoELException