sveryovka commented on PR #4497: URL: https://github.com/apache/zeppelin/pull/4497#issuecomment-1294714056
Hello, I was trying to update zeppelin to jdk 11 but unfortunately have not finished the task completely yet. However, I can help at least with some small things. Currently you have test errors in "core-modules" on jdk 11. I mean following errors: -- Error: canGetPrincipalName(org.apache.zeppelin.service.ShiroAuthenticationServiceTest) Time elapsed: 1.628 s <<< ERROR! java.lang.IllegalAccessError: class javax.xml.parsers.FactoryFinder (in unnamed module @0x4cb2918c) cannot access class jdk.xml.internal.SecuritySupport (in module java.xml) because module java.xml does not export jdk.xml.internal to unnamed module @0x4cb2918c at org.apache.zeppelin.service.ShiroAuthenticationServiceTest.setup(ShiroAuthenticationServiceTest.java:54) Error: testUsernameForceLowerCase(org.apache.zeppelin.service.ShiroAuthenticationServiceTest) Time elapsed: 0.002 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class javax.xml.parsers.FactoryFinder at org.apache.zeppelin.service.ShiroAuthenticationServiceTest.setup(ShiroAuthenticationServiceTest.java:54) Error: testKnoxGetRoles(org.apache.zeppelin.service.ShiroAuthenticationServiceTest) Time elapsed: 0.001 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class javax.xml.parsers.FactoryFinder at org.apache.zeppelin.service.ShiroAuthenticationServiceTest.setup(ShiroAuthenticationServiceTest.java:54) -- Here https://github.com/apache/zeppelin/actions/runs/3338746488/jobs/5526802213 We had same errors here https://github.com/sveryovka/zeppelin/actions/runs/3081266764/jobs/5012025191 and fixed them with the following change https://github.com/sveryovka/zeppelin/commit/e27d4671b80cfb9758a8de9fb67a7db94440d7ca here is the build with this change applied https://github.com/sveryovka/zeppelin/actions/runs/3096389277 Serhiy -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@zeppelin.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org