我尝试在我的项目中导入远程 Web 服务。我正在使用 gvnix 并给出命令
remote service import ws --wsdl http://www.restfulwebservices.net/wcf/UNSPSCService.svc?wsdl --class ~.services.UNSPSC
我有这个回应
Updated SRC_MAIN_JAVA\com\springsource\petclinic\services\UNSPSC.java
Updated ROOT\pom.xml [skipped dependency org.apache.cxf:cxf-rt-frontend- jaxws:${cxf.version}; skipped dependency org.apache.cxf:cxf-rt-transports-http
:${cxf.version}; added dependency org.hibernate.javax.persistence:hibernate- jpa-2.0-api:1.0.1.Final; skipped dependency org.springframework:spring-tx:
${spring.version}; added plugin org.apache.cxf:cxf-codegen- plugin:${cxf.version}]
Updated ROOT\pom.xml
Generating sources ...
Generating sources error !
Undo manage SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties
Undo manage ROOT\pom.xml
Undo manage SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties
Undo manage ROOT\pom.xml
Undo manage SRC_MAIN_JAVA\com\springsource\petclinic\services\UNSPSC.java
Undo manage SRC_MAIN_WEBAPP\WEB-INF\spring\webmvc-config.xml
Error generating web service sources
任何帮助!!!!