gpt4 book ai didi

flexmojos - mvn package (build failure) flexmojos - 如何让我的 Flash Player 走上正确的道路

转载 作者:行者123 更新时间:2023-12-02 02:20:20 25 4
gpt4 key购买 nike

构建失败说找不到我的 Flash 播放器,但安装了 Flash 播放器我什至把它放在我的 Path 变量中就在这里,我只是想运行 mvn package我也在我的 eclipse SDK 中安装了 maven,但我无法让它弹出但在大多数情况下,我只是担心这里的这个问题有什么建议吗?

C:\Program Files\apache-maven-3.0.3\my-app\jason\MavenFlexJavaApp>mvn package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building MavenFlexJavaApp Flex 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ MavenFlexJ
avaApp ---
[debug] execute contextualize
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- flexmojos-maven-plugin:4.1-beta:compile-swf (default-compile-swf) @ M
avenFlexJavaApp ---
[INFO] Flexmojos 4.1-beta
[INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[WARNING] No themes are explicitly defined in the <theme> section or in any scop
e="theme" dependencies. Flexmojos is now attempting to figure out which themes t
o include. (to avoid this warning you should explicitly state your theme depende
ncies [WARNING] Adding spark.css theme because spark.swc was included asa dependency
[INFO] Writing configuration dump to C:\Program Files\apache-maven-3.0.3\my-app\
jason\MavenFlexJavaApp\target\MavenFlexJavaApp-1.0-SNAPSHOT-configs.xml
[INFO] C:\Program Files\apache-maven-3.0.3\my-app\jason\MavenFlexJavaApp\target\
MavenFlexJavaApp-1.0-SNAPSHOT.swf (570344 bytes)
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ Ma
venFlexJavaApp ---
[debug] execute contextualize
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Program Files\apache-maven-3.0.3\m
y-app\jason\MavenFlexJavaApp\src\test\resources
[INFO]
[INFO] --- flexmojos-maven-plugin:4.1-beta:test-compile (default-test-compile) @
MavenFlexJavaApp ---
[INFO] Flexmojos 4.1-beta
[INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[INFO] Compiling test class: [org.JasonThomas.ShadowInnovations.TestApp]
[WARNING] No themes are explicitly defined in the <theme> section or in any scop
e="theme" dependencies. Flexmojos is now attempting to figure out which themes t
o include. (to avoid this warning you should explicitly state your theme depende
ncies)
[WARNING] Adding spark.css theme because spark.swc was included as a dependency
[INFO] Writing configuration dump to C:\Program Files\apache-maven-3.0.3\my-app\
jason\MavenFlexJavaApp\target\test-classes\TestRunner-configs.xml
[INFO] C:\Program Files\apache-maven-3.0.3\my-app\jason\MavenFlexJavaApp\target\
test-classes\TestRunner.swf (960078 bytes)
[INFO]
[INFO] --- flexmojos-maven-plugin:4.1-beta:test-run (default-test-run) @ MavenFl
exJavaApp ---
[INFO] Flexmojos 4.1-beta
[INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[INFO] Running tests C:\Program Files\apache-maven-3.0.3\my-app\jason\MavenFlexJ
avaApp\target\test-classes\TestRunner.swf
[WARNING] [LAUNCHER] Using regular flashplayer tests
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.588s
[INFO] Finished at: Sun Dec 18 21:20:58 CST 2011
[INFO] Final Memory: 18M/342M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.1
-beta:test-run (default-test-run) on project MavenFlexJavaApp: Failed to launch
Flash Player. Probably java was not able to find flashplayer.
[ERROR] Make sure flashplayer is available on PATH
[ERROR] or use -DflashPlayer.command=${flashplayer executable}
[ERROR] Read more at: https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+t
ests: Cannot run program "flashplayer": CreateProcess error=2, The system cannot
find the file specified
[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/MojoExecutionE
xception
`enter code here`C:\Program Files\apache-maven-3.0.3\my-app\jason\MavenFlexJavaApp>

最佳答案

我通常只是将调试播放器重命名为“flashplayer.exe”并确保包含它的目录在我的系统路径中……仅此而已。

关于flexmojos - mvn package (build failure) flexmojos - 如何让我的 Flash Player 走上正确的道路,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8553376/

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