Hi Robert

Yeah, looks like it but the fix mentioned there is not working with GraphQL. I 
am running into the same problem with the Pax Exam tests but I also running 
into OSGi based unit test failures.

GraphQL Core is not using sling-mock-oak but rather the OAK version that comes 
with sling-mock.junit4. That said I did upgrade the used Oak version in that 
module to 1.52.0 and it still did not work.

- Andy

> On Jul 19, 2023, at 10:44 AM, Robert Munteanu <[email protected]> wrote:
> 
> On Wed, 2023-07-19 at 10:40 +0200, Andreas Schaefer wrote:
>> After some back and forth I saw that the Pax Exam container fails due
>> to issues with java.security.acl.Group class not found issue:
>> 
>>  org.apache.sling.jcr.base[org.apache.sling.jcr.oak.server.internal.O
>> akSlingRepositoryManager] : Exception in a
>> SlingRepositoryInitializer, SlingRepository service registration
>> aborted
>> java.lang.NoClassDefFoundError: java/security/acl/Group
>>         at java.base/java.lang.ClassLoader.defineClass1(Native
>> Method)
>>         at
>> java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
> 
> This seems to be
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=255071690#CommonIssueswhenbuildingwithnewerJDKs(11or17)-OldversionofOak(%3C1.26)pulledinviaSling-Mock-Oak
> 
> Robert

Reply via email to