我正在尝试在 Bamboo 中构建 Quarkus 应用程序,但由于很多配置错误而失败:
[WARNING] Error injecting: io.quarkus.maven.BuildMojo
com.google.inject.ProvisionException: Unable to provision, see the following errors:
1) Error injecting: private org.eclipse.aether.spi.log.Logger
org.apache.maven.repository.internal.DefaultVersionRangeResolver.logger
while locating org.apache.maven.repository.internal.DefaultVersionRangeResolver
while locating java.lang.Object annotated with *
at org.eclipse.sisu.wire.LocatorWiring
while locating org.eclipse.aether.impl.VersionRangeResolver
for parameter 1 at
org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>(Unknown Source)
while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
while locating java.lang.Object annotated with *
while locating io.quarkus.maven.BuildMojo
Caused by: java.lang.IllegalArgumentException: Can not set
org.eclipse.aether.spi.log.Logger field
org.apache.maven.repository.internal.DefaultVersionRangeResolver.logger to
org.eclipse.aether.internal.impl.slf4j.Slf4jLoggerFactory
以 Maven 3.2.5clean package
为目标。该项目在本地构建良好。
这可能是什么原因造成的?