Exception occurred during code generation for the WSDL : java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/utils/NamespacePrefixList
<p>I am using Tomcat 7 server and Axis 2 1.7 runtime in eclipse.</p>

<p>I have a WSDL file which is generated in Axis 2.</p>

<p>so go for Topdown approach to generate a webservice class (skeleton). I selected my configuration as Axis in server run time. when tried to click finish it is showing following error: "<strong>Exception occurred during code generation for the WSDL  : java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/utils/NamespacePrefixList</strong>"</p>

<p>I thought it is a jar miss so i first included XmlSchema-1.4.2.jar the error hasn't resolved. so i deleted that jar and tried with latest jar downloaded from java2s (xmlschema-core-2.0.1.jar). Still i have the same problem.</p>

<p>Please help me to solve this issue.</p>

<p>This same issue also persist when trying to create a client from WSDl in eclipse.</p>

<p>Kindly help me to solve this with steps. Thanks </p>