Error while creating web service using apache CXF wizard -
i creating web service through apache cxf. while proceed(before wsdl gets created), receive following error exception in thread "main" java.lang.noclassdeffounderror: org/apache/cxf/tools/java2wsdl/javatowsdl
this seems java2ws.bat file has error. statement in bat file "%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\logging.properties" org.apache.cxf.tools.java2ws.javatows %*
it seems @ run time,jvm not able find cxf.jar.i added in classpath still same error please me solve issue
the problem arises while creating jvm. can refer : java refuses start - not reserve enough space object heap
it solved problem.
Comments
Post a Comment