gpt4 book ai didi

java - 设置 OpenCMIS InMemory 存储库

转载 作者:行者123 更新时间:2023-12-02 05:50:55 27 4
gpt4 key购买 nike

我正在尝试按照 Apache 中的说明设置 OpenCMIS InMemory 存储库但在运行maven命令mvn clean install -Dmaven.test.skip=true时不断收到以下错误:

    [INFO] 4 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Chemistry OpenCMIS ......................... SUCCESS [1.665s]
[INFO] OpenCMIS Commons API .............................. SUCCESS [3.327s]
[INFO] OpenCMIS Commons Implementation ................... SUCCESS [7.599s]
[INFO] OpenCMIS Client API ............................... SUCCESS [0.714s]
[INFO] OpenCMIS Client Bindings Implementation ........... FAILURE [2.285s]
[INFO] OpenCMIS Client Implementation .................... SKIPPED
[INFO] OpenCMIS Server Support ........................... SKIPPED
[INFO] OpenCMIS Server Implementation .................... SKIPPED
[INFO] OpenCMIS Server Implementation WAR packaging ...... SKIPPED
[INFO] OpenCMIS Test Utilities ........................... SKIPPED
[INFO] OpenCMIS InMemory Server WAR packaging ............ SKIPPED
[INFO] OpenCMIS FileShare Server Implementation .......... SKIPPED
[INFO] OpenCMIS JCR Server Implementation ................ SKIPPED
[INFO] OpenCMIS Server Archetype ......................... SKIPPED
[INFO] OpenCMIS Bridge WAR packaging ..................... SKIPPED
[INFO] OpenCMIS Test Compatibility Kit ................... SKIPPED
[INFO] OpenCMIS Full Integration Tests ................... SKIPPED
[INFO] OpenCMIS Tools .................................... SKIPPED
[INFO] OpenCMIS Browser .................................. SKIPPED
[INFO] OpenCMIS Browser Application ...................... SKIPPED
[INFO] OpenCMIS Workbench ................................ SKIPPED
[INFO] OpenCMIS OSGi Client Wrapper ...................... SKIPPED
[INFO] OpenCMIS Android Client ........................... SKIPPED
[INFO] OpenCMIS Assemblies Distribution .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.533s
[INFO] Finished at: Thu May 08 18:42:47 CEST 2014
[INFO] Final Memory: 33M/63M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "redhat-techpreview-all-repository" could not be
activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
5.1:compile (default-compile) on project chemistry-opencmis-client-bindings: Com
pilation failure: Compilation failure:
[ERROR] C:\Users\xtdell72\Desktop\chemistry-opencmis-0.11.0\chemistry-opencmis-c
lient\chemistry-opencmis-client-bindings\src\main\java\org\apache\chemistry\open
cmis\client\bindings\spi\webservices\SunJREPortProvider.java:[41,40] cannot find
symbol
[ERROR] symbol : class StreamingAttachmentFeature
[ERROR] location: package com.sun.xml.internal.ws.developer
[ERROR] C:\Users\xtdell72\Desktop\chemistry-opencmis-0.11.0\chemistry-opencmis-c
lient\chemistry-opencmis-client-bindings\src\main\java\org\apache\chemistry\open
cmis\client\bindings\spi\webservices\SunJREPortProvider.java:[65,28] cannot find
symbol
[ERROR] symbol : class StreamingAttachmentFeature
[ERROR] location: class org.apache.chemistry.opencmis.client.bindings.spi.webser
vices.SunJREPortProvider
[ERROR] C:\Users\xtdell72\Desktop\chemistry-opencmis-0.11.0\chemistry-opencmis-c
lient\chemistry-opencmis-client-bindings\src\main\java\org\apache\chemistry\open
cmis\client\bindings\spi\webservices\SunJREPortProvider.java:[115,66] cannot fin
d symbol
[ERROR] symbol : variable CONNECT_TIMEOUT
[ERROR] location: interface com.sun.xml.internal.ws.developer.JAXWSProperties
[ERROR] C:\Users\xtdell72\Desktop\chemistry-opencmis-0.11.0\chemistry-opencmis-c
lient\chemistry-opencmis-client-bindings\src\main\java\org\apache\chemistry\open
cmis\client\bindings\spi\webservices\SunJREPortProvider.java:[120,66] cannot fin
d symbol
[ERROR] symbol : variable REQUEST_TIMEOUT
[ERROR] location: interface com.sun.xml.internal.ws.developer.JAXWSProperties
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR] mvn <goals> -rf :chemistry-opencmis-client-bindings

现在,我猜错误(至少其中一些为 [ERROR] 符号:变量 CONNECT_TIMEOUT)是因为它没有找到 JAX-WS 库,但因为我刚刚下载了代码并且按照说明进行操作,我看不到可以做什么来解决它或在哪里添加依赖项。

最佳答案

你应该检查你的 Maven 版本。 Apache 网站表示需要 2.2.1 版本,而不是 java 1.5。

关于java - 设置 OpenCMIS InMemory 存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23548252/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com