Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error while creating web service using apache CXF wizard  RSS feed

rohan shedge
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am creating a web service through the apache CXF. but while i proceed(before the wsdl gets created), i receive the following error Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cxf/tools/java2wsdl/JavaToWSDL

This seems like the java2ws.bat file has some error. The statement in the bat file is "%JAVA_HOME%\bin\java" -Djava.endorsed.dirs="%CXF_HOME%\lib\endorsed" -cp "%CXF_JAR%;%TOOLS_JAR%;%CLASSPATH%" -Djava.util.logging.config.file="%CXF_HOME%\etc\" %*

It seems like at Run time,jvm is not able to find the CXF.jar.I added it in the classpath but still the same error please help me to solve the issue
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!