質問

Siddhiのようなプロジェクトが箱から出して造られていないプロジェクトが本当に奇妙なこと、私は何が足りないのだろうか。

SiddhiをEclipseにインポートする方法を必要とし、Import Existing Projectsを選択したときにプロジェクトを表示しません。ファイルシステムからインポートした場合、それは全体のエラーを表示し、Call and Typeのような単純なものを実行することはできません。本当にぎくしゃく。

私がグーグルしたことは、Mavenをインストールし、私は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
.

MVN Eclipse:Pom.xmlが存在するSiddhiフォルダからのEclipse。今どこで../../pom.xmlが見つかりますか。本当に愚かなバグのようです。私は何がここにありませんか?

役に立ちましたか?

解決

驚くべきことに、ウェブサイトのが間違っています。言及されているリンクは

です

http://svn.wso2.org/repos/wso2/trunk/Commons / Siddhi2

実際に

> http://svn.wso2.org/repos/wso2/trunk/Commons / Siddhi

svn co http://svn.wso2.org/repos/wso2/trunk/commons/siddhi siddhiを使用してこのコードをチェックしてからchmod 777 -R siddhiを実行しました。この後、mvn eclipse:eclipseが実行され、プロジェクトをEclipseとそのすべての緑色にインポートしました。

最後に...ありがとう@ MB21

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top