79118910

Date: 2024-10-23 16:50:34
Score: 2.5
Natty:
Report link

I'm currently facing challenges migrating my JSF 2.2 Maven web application from JDK 8 to Java 11. My goal is to maintain the use of Javax packages without refactoring to Jakarta.

After resolving several build and deployment issues, the application successfully deployed on WildFly 19. However, upon the first interaction, I encountered the following error:

Caused by: javax.el.PropertyNotFoundException: Target Unreachable, identifier 'XXXMBean' resolved to null at [email protected]//com.sun.el.parser.AstValue.getTarget(AstValue.java:148) at [email protected]//com.sun.el.parser.AstValue.getType(AstValue.java:62) at [email protected]//com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:160) at [email protected]//org.jboss.weld.module.web.el.WeldValueExpression.getType(WeldValueExpression.java:93)

Given this context, I have two questions:

  1. Is it feasible to keep using javax while running on Java 11, or is switching to jakarta mandatory?
  2. What steps can I take to troubleshoot the PropertyNotFoundException regarding the XXXMBean identifier?

Thank you for any insights!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: HNA