Hi, still struggling with the enhancement issue.
So, this works fine in development:
static void main ( String[] args ) { com.objectdb.Enhancer.enhance ( "app.model.*" ) .... } }
But in deployment, when the jar files is made with ShadowJar, this error occurs at runtime:
[ObjectDB 2.7.1_02] Package app.model is not found by the enhancer (error 108) com.objectdb.o.UserException: Package app.model is not found by the enhancer at com.objectdb.o.MSG.d(MSG.java:62) at com.objectdb.o.JEL.z(JEL.java:415) at com.objectdb.o.JEN.m(JEN.java:99) at com.objectdb.Enhancer.enhance(Enhancer.java:69) at com.objectdb.Enhancer.enhance(Enhancer.java:90)
So, the enhancer can't find the classes when they are in a jar file??