Classloading issues java 17 & Payara 5 2022.3

I have soap service class that fails to deploy on

java --version
openjdk 17.0.4 2022-07-19
OpenJDK Runtime Environment (build 17.0.4+8-suse-150400.3.3.1-x8664)
OpenJDK 64-Bit Server VM (build 17.0.4+8-suse-150400.3.3.1-x8664, mixed mode)

and

cat /etc/*release
NAME="SLES"
VERSION="15-SP4"
VERSION_ID="15.4"
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP4"
ID="sles"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:15:sp4"
DOCUMENTATION_URL="https://documentation.suse.com/"

with exception message:

java.lang.ClassCastException: class `xxx.xxx.ITourDataServiceImpl cannot be cast to class javax.servlet.Servlet (xxx.xxx.ITourDataServiceImpl is in unnamed module of loader org.glassfish.web.loader.WebappClassLoader @3b8a12b2; javax.servlet.Servlet is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @552bba6a)

On a win 10 system with zulu jdk 17 that class deploys without problems.

Any ideas how to fix this?

Do I need to do give some --add-exports jvm-option for those unnamed modules in different classloaders to get rid of that classcast exception?