Posted: Mon Nov 24, 2003 7:36 am Post subject: javax/resource/ResourceException
Novice
Joined: 27 Aug 2003 Posts: 20
I had my MQ app running just great until we converted our cis to a new API. Im having problems now and cant figure this one out. I have the same jar file ( com.ibm.mq.jar ) copied where it needs to be and the classpath is set accordingly. The program builds fine and when executing i get an error: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at server.system.CIServiceFactoryBatch.CreateBatch(CIServiceFactoryBatch.java:161)
at server.system.CIServiceFactoryBatch.main(CIServiceFactoryBatch.java:55)
Caused by: java.lang.NoClassDefFoundError: javax/resource/ResourceException
at com.ibm.mq.MQEnvironment.<clinit>(MQEnvironment.java:242)
Im not using bindings but adding connector.jar to the classpath worked. I dont understand why though. I never had it in the classpath before and everything worked fine. Happy that it works.....Thanks a bunch. _________________ Jeff
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum