idea maven package kotlin class not found
This is a very deep pit, I didn’t think of it before, I didn’t think in this direction
Resolution:
Package with the command: mvn clean kotlin:compile package -Dmaven.test.skip=true
Finally, I searched on the Internet, and this can indeed solve the problem, so record it.