Currently AgroalDataSource uses the thread context classloader. It should use the classloader of the class instead.