yuqi1129 commented on PR #4948: URL: https://github.com/apache/gravitino/pull/4948#issuecomment-2371029293
> @mchades > > > I am confused about why it worked before without needing an explicit call? > > Because the module after the shadow, there is no longer this file structure `META-INF/services/java.sql.Driver` , so you can not find the h2database through the SPI, you must show the call `Class.forName("org.h2.Driver");` function > > <img alt="image" width="1125" src="https://private-user-images.githubusercontent.com/3677382/370263592-b78afffb-0d40-46fa-880b-0cce56ed66c6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjcxNzgwNzYsIm5iZiI6MTcyNzE3Nzc3NiwicGF0aCI6Ii8zNjc3MzgyLzM3MDI2MzU5Mi1iNzhhZmZmYi0wZDQwLTQ2ZmEtODgwYi0wY2NlNTZlZDY2YzYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MjRUMTEzNjE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWQzYTU1NTljNDJkZmI5OGIzNWMxMTMxOWUwN2U3YjBmODY5OGU4ZGM3Y2Y4OTIzZDY5N2E1NzAxNzNkZTA3YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.W5mwQBeTZE9yoTP-KRpoTDQhBBHtxfEtl9N1MBzcesQ"> @xunliu The file exists, but the content in it is unexpected, please see https://github.com/apache/gravitino/pull/4948#discussion_r1772694796 -- 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: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org