Exception occurred during code generation for the WSDL : java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/utils/NamespacePrefixList

前端 未结 2 448
轮回少年
轮回少年 2020-12-09 19:11

I am using Tomcat 7 server and Axis 2 1.7 runtime in eclipse.

I have a WSDL file which is generated in Axis 2.

so go for Topdown approach to generate a webse

相关标签:
2条回答
  • 2020-12-09 19:29

    In my case this error is occasioned for using axis2-1.7.3, my solution was change and use axis2-1.6.4

    0 讨论(0)
  • 2020-12-09 19:36

    Solved this issue: in webContent/WEB-INF/lib add xmlschema-core-2.2.1.jar; then, ensure it is added in Web App Libraries on your build path; finally close and reopen eclipse before generating web service client. This worked for me.

    0 讨论(0)
提交回复
热议问题