Get instance of Scala object by reflection works when running main but fails in unit test with NoSuchFieldException: MODULE$

后端 未结 0 724
抹茶落季
抹茶落季 2021-01-01 02:46

I have Scala code that is used to run a spark job. At runtime the main class uses reflection to load all implementations of an abstract class that can be run as spark jobs a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题