org.zkoss.zel.ELException: Unable to find ExpressionFactory of type: # Licensed to the Apache Software

Swarupa
101

I'm seeing this error and followed work around but it is not working as expected and still seeing the same error.

delete retag edit

5 Replies

hawk
3073 1 5
http://hawkphoenix.blogsp...

Swarupa
101

Thanks Hawk for your reply. I already tried workaround and still seeing same error. Unfortunately I couldn't add ZK-4510 link to my original post but did that before posting here.

hawk
3073 1 5
http://hawkphoenix.blogsp...

Several people already solved the problem with that workaround, so I suppose it should work. Could you tell us more details about how you apply the workaround in your environment? e.g. server version, file path... (I have grant to the permission to upload screentshots)

Swarupa
101

Hi Hawk,

We are seeing this issue again with Tomcat versions 9.0.46 and 9.0.69.

I have tried to add META-INF/services/javax.el.ExpressionFactory with content of "org.zkoss.zel.impl.ExpressionFactoryImpl" but still issue is not fixed.

I have placed "juel-impl-2.2.7.jar" in WEB-INF/lib folder and unable to resolve issue.

Followed below 2 links but no luck yet. https://tracker.zkoss.org/browse/ZK-4510 https://tracker.zkoss.org/browse/ZK-3642

Thanks, Swarupa

hawk
3073 1 5
http://hawkphoenix.blogsp...

According to ZK-4510, that bug happens since tomcat 9.0.31. Based on what you describe, it's hard to know the root cause.

Could you upgrade to ZK 8.5 or later?

You can download zel.jar source and set a breakpoint at this line: https://github.com/zkoss/zk/blob/v8.0.5/zel/src/org/zkoss/zel/ExpressionFactory.java#L418 to see what ZK reads from your javax.el.ExpressionFactory.

[hide preview]