Custom Module broke the server

We try develop our own access control of vod streaming, so we start learn to build module (JAVA API) to handle it.

But we follow document to create a test project and module with name MyWowzaModule, and it contain a public method onHTTPCupertinoStreamingSessionCreate like demo

package tw.com.test.wowza;

import com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.*;
import com.wowza.wms.module.*;
import com.wowza.wms.application.*;

public class MyWowzaModule extends ModuleBase
{
	public void onHTTPCupertinoStreamingSessionCreate(HTTPStreamerSessionCupertino httpCupertinoStreamingSession)
	{
		boolean isGood = true;

		String ipAddressClient = httpCupertinoStreamingSession.getIpAddress();
		String ipAddressServer = httpCupertinoStreamingSession.getServerIp();
		String queryStr = httpCupertinoStreamingSession.getQueryStr();
		String referrer = httpCupertinoStreamingSession.getReferrer();
		String cookieStr = httpCupertinoStreamingSession.getCookieStr();
		String userAgent = httpCupertinoStreamingSession.getUserAgent();

		IApplicationInstance appInstance = httpCupertinoStreamingSession.getAppInstance();
		String streamName = httpCupertinoStreamingSession.getStreamName();

		// Here you can use the request and session information above to determine 
		// if you want to reject the connection
		// isGood = true/false;

		getLogger().info("ModuleAccessControlCupertinoStreaming.onHTTPCupertinoStreamingSessionCreate["+appInstance.getContextStr()+":"+streamName+"]: accept:"+isGood);

		if (!isGood)
			httpCupertinoStreamingSession.rejectSession();
	}
}

and register this module in default application vod, and restart the server.

When we try to play, it’s just loading not start, and no any message in log (we already set logger to debug level).
But if we not put the jar in lib or use wrong class name in application, play works fine,
I don’t really known why because i can’t get any information in log file to debug it,
we try download official module from github to test, but it work well,
please give me a hint to continue my job, thanks.

I develop and test on my mac, and I don’t know if it’s related.

Thanks.

I found out what be wrong, java compiler level is too high,
my wowza just support java11.

as my post said,
there is no message to point what’s wrong when we register module,
but the error show when we register httpprovider,
it save me.