問題のサンプルやドキュメントはここで見つけることができます:http://static.springsource.org/spring-flex/docs/1.5.0.M1/Spring-Flex 1.5サンプルは機能しますか?
参照ドキュメント(here)は、サンプルアプリケーションをダウンロードすることを教えてくれる:
Included in the project distribution is a collection of samples called the Spring BlazeDS Integration Test Drive. This samples project is set up to be built with Maven and then imported into Eclipse for running the application via WTP.
問題のサンプルは、いずれかであるspring-flex-testdrive-spring3.zipでなければなりませんこれはリリース1.5.0.M1(ドキュメントとサンプル)という概念に基づいて、spring-flex-testdrive-spring3.zipにリンクされています。適切な環境変数で説明したように、私はMavenを設定した後
:
MAVEN_OPTS="-Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m"
私はその後、インストールする(命令あたりの)コマンドを実行します。はMVN抽出したサンプルのディレクトリからをクリーンインストール(私の中ケースC:\春-フレックステストドライブ)、私は、次のエラーが表示さ:私は()Flexでの作業 "春BlazeDSの" アプリケーションを取得するために管理している
C:\spring-flex-testdrive>mvn clean install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.springframework.flex.samples:spring-flex-testdrive:1.5.0.M1 (C:\spring-flex-testdrive\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.springframework.flex:spring-flex-parent:pom:1.5.0.M1 in http://maven.springframework.org/external was cached in the local repository, resolution will not be
reattempted until the update interval of spring-external has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 10 -> [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
C:\spring-flex-testdrive>
を、しかし、今私はセキュリティを実装する必要があります。サンプルが正しくコンパイルされて実行されるならば、大きな助けになるでしょう。私はMavenを初めて使っていますが、どんな助けでも大歓迎です!
ありがとうございましたStackOverflowコミュニティ!
私はまだ必要な追加設定の変更を把握していません。私は[sonatype/flexmojos FAQ](https://docs.sonatype.org/display/FLEXMOJOS/FAQ#FAQ-1.3)と一緒にフォローしようとしましたが、私はどこに手動で "手動で" "私のflex/flashbuilder jar(license.jar?)をインストールしたり、ルート** pom.xml **を変更する必要はありません。それ以上の考え? 私のenv。 http://pastie.org/1549766 – blong