Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Hi All,
I am trying to integrate OrientDB with a simple AEM application. after the build, I am getting the error in osgi console as:
| Imported Packages | com.sun.jdi -- Cannot be resolved and overwritten by Boot Delegation com.sun.jdi.connect -- Cannot be resolved and overwritten by Boot Delegation com.sun.jdi.event -- Cannot be resolved and overwritten by Boot Delegation com.sun.jdi.request -- Cannot be resolved and overwritten by Boot Delegation |
In sling.properties file, as we used to add the below line
sling.bootdelegation.sun=sun.*,com.sun.*
I am using AEM 6.2, so this particular line is already present in sling.properties file. I am not able to get the pointer as what needs to be done to fix the issue.
Thanks in advance!
¡Resuelto! Ir a solución.
Vistas
Respuestas
Total de me gusta
Thanks a lot, everyone!!!
I have fixed the issue. I had referred the below URLs for resolving corresponding bundle issues:
https://github.com/mszu/nashorn-scripting-api-fragment
http://www.java2s.com/Code/Jar/j/Downloadjavaxpersistence203jar.htm
Vistas
Respuestas
Total de me gusta
Hi
Have you tried adding the below dependency in your pom file.
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.5.0</version>
<scope>system</scope>
</dependency>
Thanks.
Vistas
Respuestas
Total de me gusta
Thanks for the reply. I tried the above, but the JAR is not OSGI compliant. I tried to convert the downloaded jar to OSGI using bnd tool, but still the issue is not resolved.
Vistas
Respuestas
Total de me gusta
It would be great if you can create a github project with what you have. Someone can pick it up from there. It will save a lot of time..
Vistas
Respuestas
Total de me gusta
Hi Vivek,
Please get the code from ritendras / testOrientJava — Bitbucket and do a maven install on AEM.
You will notice that the bundle is in installed state.
I need to fix this bundle issue.
Please let me know if you get any solution.
Vistas
Respuestas
Total de me gusta
I am trying to use JAVA APIs of OrientDB in an AEM project.
Vistas
Respuestas
Total de me gusta
Have you tried wrapping the JAR using an Eclipse plug-in project. Then deploy the bundle to AEM. See how we wrap the SImple JSON JAR in this article --
Adobe Experience Manager Help | Submitting Adobe Experience Manager form data to Java Sling Servlets
Vistas
Respuestas
Total de me gusta
I made some changes to bundle POM.. It is active now but I do not have any code to check if that works...
vivek-sachdeva / orientdb-test / commit / 83b61ecfdd04 — Bitbucket
Take a look..
![]()
Vistas
Respuestas
Total de me gusta
Thanks a lot, everyone!!!
I have fixed the issue. I had referred the below URLs for resolving corresponding bundle issues:
https://github.com/mszu/nashorn-scripting-api-fragment
http://www.java2s.com/Code/Jar/j/Downloadjavaxpersistence203jar.htm
Vistas
Respuestas
Total de me gusta
the last link appears broken..
Could you add some more detail around how you fixed it.. Would be helpful for others.
Vistas
Respuestas
Total de me gusta
Hi,
I have installed the jar file for orient-db-object and orient-db-core manually via OSGI console.
After installation, I faced the issues mentioned in my answer. To resolve the bundles, I followed the links provided in my post:
The Central Repository Search Engine
Hope, this helps!
Vistas
Respuestas
Total de me gusta
Hi,
Currently we are facing an issue with com.sun.medialib.mlib cannot be resolved and overwritten by boot delegation.
I had downloaded the jar and updated it as osgi bundle by adding certain properties in the Manifest file. I had installed the bundle and it is active.
Whenever I was installing my project bundle it is showing as Installed State. I am getting an error called com.sun.medialib.mlib cannot be resolved and overwritten by boot delegation.
Need help.
Thanks,
Pradeep Kumar.
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas