0

siddhi のようなプロジェクトが箱から出してすぐにビルドできないのは本当に奇妙だと思います。何が欠けているのだろうかと思います。

まず、siddhi を Eclipse にインポートする方法が必要です。選択したときにプロジェクトが表示されませんImport Existing Projects。ファイルシステムからインポートすると、大量のエラーが表示され、Call and Type. 本当にくだらない。

私がグーグルで調べたすべてのことから、私はmavenをインストールし、 maven eclipseの設定に従おうとしています

を実行するsudo mvn eclipse:eclipseと、次のエラーが表示されます

~/Development/workinprogress/siddhi$ sudo mvn eclipse:eclipse
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.wso2.cep:cep-parent:3.1.0 (/home/jsiddharth/Development/workinprogress/siddhi/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Failure to find org.wso2.carbon:carbon-products:pom:4.2.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 22, column 13 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

22行目は

<parent>^M
    <groupId>org.wso2.carbon</groupId>^M
    <artifactId>carbon-products</artifactId>^M
    <version>4.2.0</version>^M
    <relativePath>../../pom.xml</relativePath>^M
</parent>^M

pom.xml が存在する siddhi フォルダーから mvn eclipse:eclipse を実行しました。今、私はどこにありますか../../pom.xml。本当にばかげたバグのようです。ここで何が欠けていますか?

4

1 に答える 1