报错:Could not find artifact com.gzydt.report:gzydt-report:xml:features:1.0.0 in maven.central.repo

前端之家收集整理的这篇文章主要介绍了报错:Could not find artifact com.gzydt.report:gzydt-report:xml:features:1.0.0 in maven.central.repo前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
2015-07-13 15:27:42,102 | WARN | l Console Thread | AetherBasedResolver | 4 - org.ops4j.pax.logging.pax-logging-api - 1.8.1 | Error resolving artifactcom.gzydt.report:gzydt-report:xml:features:1.0.0:Could not find artifact com.gzydt.report:gzydt-report:xml:features:1.0.0 in maven.central.repo (http://repo1.maven.org/maven2/)
shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact com.gzydt.report:gzydt-report:xml:features:1.0.0 in maven.central.repo (http://repo1.maven.org/maven2/)
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)[1:org.ops4j.pax.url.mvn:2.3.0]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)[1:org.ops4j.pax.url.mvn:2.3.0]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)[1:org.ops4j.pax.url.mvn:2.3.0]
at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)[1:org.ops4j.pax.url.mvn:2.3.0]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:476)[1:org.ops4j.pax.url.mvn:2.3.0]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:433)[1:org.ops4j.pax.url.mvn:2.3.0]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:411)[1:org.ops4j.pax.url.mvn:2.3.0]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:386)[1:org.ops4j.pax.url.mvn:2.3.0]
at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:124)[1:org.ops4j.pax.url.mvn:2.3.0]
at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:55)[7:org.apache.karaf.features.core:2.4.1]
at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:201)[7:org.apache.karaf.features.core:2.4.1]
at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:243)[7:org.apache.karaf.features.core:2.4.1]
at org.apache.karaf.features.internal.FeaturesServiceImpl.addRepository(FeaturesServiceImpl.java:223)[7:org.apache.karaf.features.core:2.4.1]
at org.apache.karaf.features.command.AddUrlCommand.doExecute(AddUrlCommand.java:42)[28:org.apache.karaf.features.command:2.4.1]
at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:41)[28:org.apache.karaf.features.command:2.4.1]
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.karaf.shell.console.jline.Console.run(Console.java:195)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[21:org.apache.karaf.shell.console:2.4.1]
Caused by: shaded.org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact com.gzydt.report:gzydt-report:xml:features:1.0.0 in maven.central.repo (http://repo1.maven.org/maven2/)
at shaded.org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:39)[1:org.ops4j.pax.url.mvn:2.3.0]
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)[1:org.ops4j.pax.url.mvn:2.3.0]
at shaded.org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)[1:org.ops4j.pax.url.mvn:2.3.0]
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)[1:org.ops4j.pax.url.mvn:2.3.0]
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)[1:org.ops4j.pax.url.mvn:2.3.0]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)[1:org.ops4j.pax.url.mvn:2.3.0]
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)[1:org.ops4j.pax.url.mvn:2.3.0]
... 25 more
2015-07-13 15:27:42,102 | ERROR | l Console Thread | Console | 21 - org.apache.karaf.shell.console - 2.4.1 | Exception caught while executing command
org.apache.karaf.shell.console.MultiException: Unable to add repositories:
Error resolving artifact com.gzydt.report:gzydt-report:xml:features:1.0.0: Could not find artifact com.gzydt.report:gzydt-report:xml:features:1.0.0 in maven.central.repo (http://repo1.maven.org/maven2/)
at org.apache.karaf.shell.console.MultiException.throwIf(MultiException.java:91)
at org.apache.karaf.features.command.AddUrlCommand.doExecute(AddUrlCommand.java:47)[28:org.apache.karaf.features.command:2.4.1]
at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:41)[28:org.apache.karaf.features.command:2.4.1]
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.karaf.shell.console.jline.Console.run(Console.java:195)[21:org.apache.karaf.shell.console:2.4.1]
at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[21:org.apache.karaf.shell.console:2.4.1]
Caused by: java.io.IOException: Error resolving artifact com.gzydt.report:gzydt-report:xml:features:1.0.0: Could not find artifact com.gzydt.report:gzydt-report:xml:features:1.0.0 in maven.central.repo (http://repo1.maven.org/maven2/)
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:487)[1:org.ops4j.pax.url.mvn:2.3.0]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:433)[1:org.ops4j.pax.url.mvn:2.3.0]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:411)[1:org.ops4j.pax.url.mvn:2.3.0]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:386)[1:org.ops4j.pax.url.mvn:2.3.0]
at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:124)[1:org.ops4j.pax.url.mvn:2.3.0]
at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:55)[7:org.apache.karaf.features.core:2.4.1]
at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:201)[7:org.apache.karaf.features.core:2.4.1]
at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:243)[7:org.apache.karaf.features.core:2.4.1]
at org.apache.karaf.features.internal.FeaturesServiceImpl.addRepository(FeaturesServiceImpl.java:223)[7:org.apache.karaf.features.core:2.4.1]
at org.apache.karaf.features.command.AddUrlCommand.doExecute(AddUrlCommand.java:42)[28:org.apache.karaf.features.command:2.4.1]
... 12 more

报错情况如下。解决方法

将maven的环境变量改为M2_HOME就可以了

原文链接:https://www.f2er.com/xml/296489.html

猜你在找的XML相关文章