在main方法里面可以执行成功,但是不在main方法里就不行了,报错如下:Could not initialize class com.jacob.activeX.ActiveXComponent
解决了,配置问题,,,,,,,,,,,,,
哪个配置