切换操作系统后无法生成源

时间:2018-12-17 10:01:14

标签: maven cxf-codegen-plugin

我最近从Ubuntu切换到Windows 10,并且无法再生成源。我的pom.xml的相关部分如下

2018/12/17 11:57:16 [error] 9060#9060: *124 open() "/home/user/serverTest/up1/31fb090e9e6464a4d62d3588afc742d2e11dc1f6.js" failed   (2: No such file or directory),  
client: 127.0.0.1,   server: ,   
request: "GET /31fb090e9e6464a4d62d3588afc742d2e11dc1f6.js?meteor_js_resource=true HTTP/1.1",   host: "localhost",   
referrer: "http://localhost/wekan"

maven构建过程中的错误如下

<plugin>
    <groupId>org.apache.cxf</groupId>
    <artifactId>cxf-codegen-plugin</artifactId>
    <version>${cxf-codegen-plugin.version}</version>
    <executions>
        <execution>
            <id>generate-sources</id>
            <phase>generate-sources</phase>
            <configuration>
                <sourceRoot>${project.build.directory}/generated/cxf</sourceRoot>
                <wsdlOptions>
                    <wsdlOption>
                        <wsdl>${basedir}/src/main/resources/postcode/find_1_10.wsdl</wsdl>
                        <wsdlLocation>classpath:postcode/find_1_10.wsdl</wsdlLocation>
                        <extraargs>
                            <extraarg>-p</extraarg>
                            <extraarg>uk.co.postcodeanywhere.services.find</extraarg>
                        </extraargs>
                    </wsdlOption>                               
                    <wsdlOption>
                        <wsdl>${basedir}/src/main/resources/postcode/postzon_1_40.wsdl</wsdl>
                        <wsdlLocation>classpath:postcode/postzon_1_40.wsdl</wsdlLocation>
                        <extraargs>
                            <extraarg>-p</extraarg>
                            <extraarg>uk.co.postcodeanywhere.services.postzon</extraarg>
                        </extraargs>
                    </wsdlOption>
                    <wsdlOption>
                        <wsdl>${basedir}/src/main/resources/postcode/retrievebyaddress_1_20.wsdl</wsdl>
                        <wsdlLocation>classpath:postcode/retrievebyaddress_1_20.wsdl</wsdlLocation>
                        <extraargs>
                            <extraarg>-p</extraarg>
                            <extraarg>uk.co.postcodeanywhere.services.retrievebyaddress</extraarg>
                        </extraargs>
                    </wsdlOption>
                    <wsdlOption>
                        <wsdl>${basedir}/src/main/resources/postcode/retrievebyid_1_30.wsdl</wsdl>
                        <wsdlLocation>classpath:postcode/retrievebyid_1_30.wsdl</wsdlLocation>
                        <extraargs>
                            <extraarg>-p</extraarg>
                            <extraarg>uk.co.postcodeanywhere.services.retrievebyid</extraarg>
                        </extraargs>
                    </wsdlOption>
                </wsdlOptions>
            </configuration>
            <goals>
                <goal>wsdl2java</goal>
            </goals>
        </execution>
    </executions>
</plugin>

我尝试用jdk 8进行测试,但似乎只能从oracle网站下载JRE

0 个答案:

没有答案