com.maxmind.db -- Cannot be resolved com.maxmind.geoip2 -- Cannot be resolved com.maxmind.geoip2.exception -- Cannot be resolved com.maxmind.geoip2.model -- Cannot be resolved com.maxmind.geoip2.record -- Cannot be resolved
i'm trying to resolve this dependency issue but not able to fix it. due this issue bundle is not started.
could you please anyone guide me that how to fix that?
Solved! Go to Solution.
Views
Replies
Total Likes
Check your error logs, during the deployment OSGi container logs the bundle entries if they have some issues.
In this case, it would be better if you could check the status of this particular bundle if it's active and also available on the OSGi console.
Also since it's a JAR you need to convert it to bundle
https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-17475.html?lang=en
If you don't need to have this package in OSGI, you can also embed it into your application bundle, using bnd plugin.
https://myaemlearnings.blogspot.com/2021/12/embed-third-party-dependency-using-bnd.html
Regards,
Nitesh
Hi @vkarthick ,
Try adding below dependency in your core Pom
<!-- https://mvnrepository.com/artifact/com.maxmind.geoip2/geoip2 -->
<dependency>
<groupId>com.maxmind.geoip2</groupId>
<artifactId>geoip2</artifactId>
<version>4.0.1</version>
</dependency>
Also don't forget to embed this as well in the container POM file
<embedded>
<groupId>com.maxmind.geoip2</groupId>
<artifactId>geoip2</artifactId>
<target>/apps/<yourfolder>/install</target>
</embedded>
Hope this helps!
Regards,
Nitesh
i have already have entry for that and i'm able to see in crx, but in system/console
system/console look like this not resolved
Check your error logs, during the deployment OSGi container logs the bundle entries if they have some issues.
In this case, it would be better if you could check the status of this particular bundle if it's active and also available on the OSGi console.
Also since it's a JAR you need to convert it to bundle
https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-17475.html?lang=en
If you don't need to have this package in OSGI, you can also embed it into your application bundle, using bnd plugin.
https://myaemlearnings.blogspot.com/2021/12/embed-third-party-dependency-using-bnd.html
Regards,
Nitesh
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies