• Post Reply Bookmark Topic Watch Topic
  • New Topic

ConnectionFactory. newInstance(); Not Working

Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am following an example from RMH book , any time i run the program from the book . This line
ConnectionFactory factory = ConnectionFactory.newInstance();

results in this error
Exception in thread "main" javax.xml.registry.JAXRException: Unable to create ConnectionFactory: Provider com.sun.xml.registry.common.ConnectionFactoryImpl not found

Does anyone know what is missing here
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!