After migrating an application from WildFly 21 to WildFly 27, I am encountering the following error when deploying the application:
Oracle JDBC driver classes are inaccessible and thus, certain DDL types like ARRAY can not be used!
It's indeed strange because the driver is located in modules\system\layers\base, and when I access the WildFly administrative interface and perform a connection test for the datasource, it succeeds. The error only occurs when I deploy the application.
Has anyone encountered this issue before and could help?
You need to change the manifest of your deployment artifact to expose that module to your applications classpath