# #java #maven #google-cloud-platform #recaptcha #recaptcha-enterprise
Вопрос:
Я внедряю реализацию recaptchaenterprise в AEM и следую документации Google, чтобы добавить зависимость в pom.xml.
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-recaptchaenterprise</artifactId>
<version>1.2.2</version>
</dependency>
Ссылка на Ссылку:
https://github.com/googleapis/java-recaptchaenterprise
Однако мои пакеты находятся в установленном состоянии, так как есть некоторые неразрешенные зависимости. Пожалуйста, найдите ниже описание ошибки.
**com.google.cloud.recaptchaenterprise.v1 -- Cannot be resolved**
com.google.common.collect,version=[15.0,16) from com.adobe.granite.osgi.wrapper.guava
(98)
com.google.gson,version=[2.8,3) from com.adobe.cq.gson (204)
com.google.gson.annotations,version=[2.8,3) from com.adobe.cq.gson (204)
com.google.gson.reflect,version=[2.8,3) from com.adobe.cq.gson (204)
**com.google.protobuf,version=[3.17,4) -- Cannot be resolved
com.google.recaptchaenterprise.v1 -- Cannot be resolved**
ackage; (osgi.wiring.package=com.google.cloud.recaptchaenterprise.v1)]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
at
org.apache.sling.installer.core.impl.tasks.BundleStartTask.execute(
BundleStartTask.java:97)
[org.apache.sling.installer.core:3.9.0.B002]
at
org.apache.sling.installer.core.impl.OsgiInstallerImpl.doExecuteTasks
(OsgiInstallerImpl.java:914) [org.apache.sling.installer.core:3.9.0.B002]
at org.apache.sling.installer.core.impl.OsgiInstallerImpl.executeTasks
(OsgiInstallerImpl.java:749) [org.apache.sling.installer.core:3.9.0.B002]
at org.apache.sling.installer.core.impl.OsgiInstallerImpl.run
(OsgiInstallerImpl.java:298) [org.apache.sling.installer.core:3.9.0.B002]
at java.base/java.lang.Thread.run(Thread.java:834)
13.08.2021 13:43:31.930 *INFO* [OsgiInstallerImpl]
org.apache.sling.installer.core.impl.tasks.RestartActiveBundlesTask Unable to start
bundle com.mycompany.aem.custom-web-custom.core [632] : Unable to resolve
com.mycompany.aem.custom-web-custom.core [632](R 632.89): missing requirement
[com.mycompany.aem.custom-web-custom.core [632](R 632.89)] osgi.wiring.package;
(osgi.wiring.package=com.google.cloud.recaptchaenterprise.v1) Unresolved
requirements:
[[com.mycompany.aem.custom-web-custom.core [632](R 632.89)] osgi.wiring.package;
**(osgi.wiring.package=com.google.cloud.recaptchaenterprise.v1)]**
13.08.2021 13:43:31.961 *INFO* [OsgiInstallerImpl]
org.apache.sling.installer.core.impl.tasks.BundleStartTask Could not start bundle
com.mycompany.aem.custom-web-custom.core [632]. Reason: {}. Will retry.
org.osgi.framework.BundleException: Unable to resolve com.mycompany.aem.custom-web-
custom.core [632](R 632.89): missing requirement [com.mycompany.aem.custom-web-
custom.core [632](R 632.89)] osgi.wiring.package;
(osgi.wiring.package=com.google.cloud.recaptchaenterprise.v1) Unresolved
requirements:
[[com.mycompany.aem.custom-web-custom.core [632](R 632.89)] osgi.wiring.package;
**(osgi.wiring.package=com.google.cloud.recaptchaenterprise.v1)]**
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
at