Wso2 构建碳组件时出错

Wso2 构建碳组件时出错,wso2,maven-3,wso2carbon,Wso2,Maven 3,Wso2carbon,我一直在这样做,但当我使用wsdl文件创建客户机时,我遇到了这个错误。我怎样才能解决这个问题 [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------

我一直在这样做,但当我使用wsdl文件创建客户机时,我遇到了这个错误。我怎样才能解决这个问题

    [INFO] Scanning for projects...
    [INFO]                                                                         
    [INFO] ------------------------------------------------------------------------
    [INFO] Building WSO2 Carbon - Student Manager Stub 4.2.0
    [INFO] ------------------------------------------------------------------------
    [INFO] 
    [INFO] --- build-helper-maven-plugin:1.9.1:add-source (add-source) @ org.wso2.carbon.student.mgt.stub ---
    [INFO] Source directory: /home/jobs/wso2/Carbon/Old/org.wso2.carbon.student.mgt.stub/target/generated-code/src added.
    [INFO] 
    [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.wso2.carbon.student.mgt.stub ---
    [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
    [INFO] Copying 1 resource
    [INFO] 
    [INFO] --- maven-antrun-plugin:1.1:run (source-code-generation) @ org.wso2.carbon.student.mgt.stub ---
    [INFO] Executing tasks
    [java] Retrieving document at 'src/main/resources/StudentManager.wsdl'.
    [java] Dec 05, 2014 1:05:42 AM org.apache.axis2.schema.SchemaCompiler compile
    [java] WARNING: No schemaLocation for import of http://data.mgt.student.carbon.wso2.org/xsd; compilation may fail
    [INFO] Executed tasks
    [INFO] 
    [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ org.wso2.carbon.student.mgt.stub ---
    [INFO] Changes detected - recompiling the module!
    [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
    [INFO] Compiling 8 source files to /home/jobs/wso2/Carbon/Old/org.wso2.carbon.student.mgt.stub/target/classes
这个警告到底是什么意思?这是我不明白的地方

[java] WARNING: No schemaLocation for import of http://data.mgt.student.carbon.wso2.org/xsd; compilation may fail

看起来目标代码中的../data/xsd目录中的域类尚未更新。我怀疑后端组件已经更新,wsdl已经更改,但是存根还没有更新/创建。因此,客户端组件不知道这些修改。我建议您可以在存根资源中更新wsdl文件,重建存根和客户端可能会解决这个问题

我设法创造了碳元素。但我每次都收到警告。不知道问题出在哪里?但这不是一个严重的问题。不幸的是,我后来才明白(: