【发布时间】:2019-12-03 06:39:57
【问题描述】:
[ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1.7.4:scr (generate-scr-descriptor) on project slingjcr-bundle: Execution generate-scr-descriptor of goal org.apache.felix:maven-scr-plugin:1.7.4:scr failed: org.apache.felix.scrplugin.tags.annotation.AnnotationTagProvider is not an ImageIO SPI class -> [Help 1]`enter code here`
[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/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :slingjcr-bundle
您好,我正在处理 AEM 项目,因此在执行 mvn clean install 时出现上述错误。我正在使用 java 11 和 maven 3.6.2,运行 AEM 6.5
【问题讨论】:
-
您是否尝试过使用 -e 开关再次运行该命令?
-
运行 -e 开关后出现以下错误:原因:org.apache.maven.plugin.PluginExecutionException: Execution generate-scr-descriptor of goal org.apache.felix:maven-scr-plugin :1.7.4:scr failed: org.apache.felix.scrplugin.tags.annotation.AnnotationTagProvider 不是 ImageIO SPI 类 原因:java.lang.IllegalArgumentException: org.apache.felix.scrplugin.tags.annotation.AnnotationTagProvider 是不是 ImageIO SPI 类
-
我的 AEM 版本是 6.5,运行的是 6.5 支持的 java 11 (jdk 11.0.4)
-
您是否正在从较旧的 AEM 6.x 迁移到 AEM 6.5?