Hi,
We are trying to integrate Google Cloud Pub/Sub feature (https://cloud.google.com/pubsub/docs/publisher#java) in AEM 6.5.11.
We added dependency in Parent and Core respectively as below:
<!-- https://mvnrepository.com/artifact/com.google.cloud/google-cloud-pubsub -->
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsub</artifactId>
<version>1.122.2</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.google.cloud/google-cloud-pubsub -->
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsub</artifactId>
</dependency>
After adding dependency, Build is succesful but bundle is not active.
It gives many errors in inported sections:
NOTE: In Core POM.xml, Added entry as below in Export-package section:
Related import in JAVA:
Thanks in advance.
Regards,
KTNR
Views
Replies
Total Likes
@Avinash_Gupta_ Thanks for your kind reply.
However, I already tried some stuff following below 2 articles and bundles are active now.
https://www.linkedin.com/pulse/how-add-third-party-bundle-you-aem-package-veena-vikraman/
But Now, it gives below error: java.lang.NoClassDefFoundError: com/google/pubsub/v1/TopicName
do you have any idea how to resolve it?