Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E0DCDD585 for ; Fri, 19 Oct 2012 21:32:11 +0000 (UTC) Received: (qmail 61365 invoked by uid 500); 19 Oct 2012 21:32:11 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 61337 invoked by uid 500); 19 Oct 2012 21:32:11 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 61327 invoked by uid 99); 19 Oct 2012 21:32:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2012 21:32:11 +0000 Date: Fri, 19 Oct 2012 21:32:11 +0000 (UTC) From: "Chris Phillipson (JIRA)" To: issues@cxf.apache.org Message-ID: <1302893350.3152.1350682331793.JavaMail.jiratomcat@arcas> In-Reply-To: <1949895207.3025.1350680414158.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CXF-4588) cxf-codegen-plugin: Error resolving component MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-4588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480409#comment-13480409 ] Chris Phillipson commented on CXF-4588: --------------------------------------- This is what I observe in a Windows cmd shell... D:\workspaces\other\spp-im-mui-ws-api>mvn clean install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Example web service API 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: http://maven.springframework.org/release/joda-time/joda-time/2.1/joda-time-2.1.pom Downloading: http://gwtquery-plugins.googlecode.com/svn/mavenrepo/joda-time/joda-time/2.1/joda-time-2.1.pom Downloading: http://csvjdbc.sourceforge.net/maven2/joda-time/joda-time/2.1/joda-time-2.1.pom Downloading: http://mvp4g.googlecode.com/svn/maven2/releases/joda-time/joda-time/2.1/joda-time-2.1.pom Downloading: http://maven.nuxeo.org/nexus/content/groups/public/joda-time/joda-time/2.1/joda-time-2.1.pom Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/joda-time/joda-time/2.1/joda-time-2.1.pom (16 KB at 5.2 KB/sec) Downloading: http://maven.springframework.org/release/joda-time/joda-time/2.1/joda-time-2.1.jar Downloading: http://gwtquery-plugins.googlecode.com/svn/mavenrepo/joda-time/joda-time/2.1/joda-time-2.1.jar Downloading: http://csvjdbc.sourceforge.net/maven2/joda-time/joda-time/2.1/joda-time-2.1.jar Downloading: http://mvp4g.googlecode.com/svn/maven2/releases/joda-time/joda-time/2.1/joda-time-2.1.jar Downloading: http://maven.nuxeo.org/nexus/content/groups/public/joda-time/joda-time/2.1/joda-time-2.1.jar Downloaded: http://maven.nuxeo.org/nexus/content/groups/public/joda-time/joda-time/2.1/joda-time-2.1.jar (558 KB at 117.5 KB/sec) [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ws-api --- [INFO] [INFO] --- cxf-codegen-plugin:2.7.0:wsdl2java (default) @ ws-api --- Loading FrontEnd jaxws ... Loading DataBinding jaxb ... wsdl2java -d D:\workspaces\other\spp-im-mui-ws-api\target\generated-sources\java -b file:/D:/workspaces/other/spp-im-mui-ws-api/build/wsdl/jaxb-bindings.xml -validate -impl -verbos e file:/D:/workspaces/other/spp-im-mui-ws-api/build/wsdl/virtual_v1_0.wsdl wsdl2java - Apache CXF 2.7.0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 18.491s [INFO] Finished at: Fri Oct 19 14:27:33 PDT 2012 [INFO] Final Memory: 13M/256M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.7.0:wsdl2java (default) on project ws-api: Execution default of goal org.apache.cxf:cxf-codegen-plugin:2.7.0:wsdl 2java failed: Schema Error : src-resolve: Cannot resolve the name 'cmn:AssetOwnerNameType' to a(n) 'type definition' component. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException D:\workspaces\other\spp-im-mui-ws-api> > cxf-codegen-plugin: Error resolving component > --------------------------------------------- > > Key: CXF-4588 > URL: https://issues.apache.org/jira/browse/CXF-4588 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.7.0 > Environment: Windows 7 x64, Maven 3.0.4, CXF 2.7.0 > Reporter: Chris Phillipson > Attachments: spp-im-mui-ws-api.zip > > > While it appeared that a fix was in place (as in CXF-4487), I am still having trouble generating classes from schema that have relative links in (e.g., "Schema Error : src-resolve: Cannot resolve the name". -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira