Closed OssNass closed 5 years ago
Replace:
compile group: 'javax.activation', name: 'javax.activation-api', version: '1.2.0'
with:
compile group: 'com.sun.activation', name: 'javax.activation', version: '1.2.0'
Didn't work, Now the module says
Module 'com.ocomp.voroniy' reads 'javax.activation' from both 'java.activation' and 'java.activation'
When importing hibernate, java.activation is imported automatically
Going from Hibernate 5.4 to 6.0.0.Alpha2 fixed the problem
I'm trying to add Hibernate-core to my application but I keep getting that
java.activation
module not found despite the fact the filejavax.activation
is in the class path and is referenced inmodule-info.java
fileMy gradle file:
My
module-info.java
The output of
suggestMergedModuleInfo
isThe output of jlink
error: module not found: java.activation