I was wondering whether working with ejb3 and axis2 to write a web service client would need any extra configuration? As It gives me an runtime exception saying java.lang.RuntimeException: java.lang.NoClassDefFoundError: javax/xml/namespace/QName, with just an invoke of ServiceClient sender = new ServiceClient();
Any idea why this happens. Thanks in advance.
posted 6 years ago
Do you have all the jar files that come with Axis in your classpath? At a quick glance, there are about 50 of them, one of which contains this class.