Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

First OSGI Error

Avatar

Level 5

Hi All,

  I am trying to follow https://helpx.adobe.com/experience-manager/using/first-osgi.html

and ended up in the error as attached. Can some one help me on this.

 

Thanks,

Jai

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Jai,

Yes, you are right key_serviceOSGI.zip now works.

Try to start doing from beginning of the article with the updated maven plugin. It worked for me in One Go!!!

If you want to learn concepts in action, try installing the 1st package i.e., keyservice_package-1.0 (1).zip from the article and watch the result.

Thanks,
Ratna Kumar.

View solution in original post

12 Replies

Avatar

Level 10

I am using Java 1.7 and Maven apache-maven-3.2.3. It works fine. Also - try using the  settings.xml located in the doc. 

Avatar

Level 10

Hi,

I faced same issue long back,

Please refer to this article for help: http://stackoverflow.com/questions/18442753/a-required-class-was-missing-while-executing-org-apache-...

Let me know if it dosent work.

Avatar

Level 10

What versions are you using? What Java version, what Maven version etc? 

Avatar

Level 10

Hi,

The article has been updated with Maven archetype plugin. 
Can you please check the article and try installing the package  keyservice_package-1.0 (1).zip.

Thanks,
Ratna Kumar.

Avatar

Level 5

    Looks like the  key_serviceOSGi.zip is corrupted. I could not open/unzip it.  Still stuck with the error

Avatar

Level 5

Hi,

    I am using Java 1.7and Maven 3.3.3 and  AEM 5.6.1. I believe this is just problem with Java and Maven and AEM does not come in. Also i have updated the repositories URL from 

http://repo.adobe.com/nexus/content/groups/public/   to     https://repo.adobe.com/nexus/content/groups/public/.

Avatar

Level 10

We are in the process of updating all AEM Community articles that use maven to use this command:

mvn archetype:generate -DarchetypeRepository=https://repo.adobe.com/nexus/content/groups/public/ -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.2 -DgroupId=custom.querybuilder  -DartifactId=querybuilder -Dversion=1.0-SNAPSHOT -Dpackage=custom.querybuilder  -DappsFolderName=myproject -DartifactName="My Project" -DcqVersion="5.6.1" -DpackageGroup="My Company"

Avatar

Level 5

Ofcourse i am using settings.xml from the same doc. Just updated the proxy details and also made the repository URL change from as said after reffering http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

Avatar

Correct answer by
Level 10

Hi Jai,

Yes, you are right key_serviceOSGI.zip now works.

Try to start doing from beginning of the article with the updated maven plugin. It worked for me in One Go!!!

If you want to learn concepts in action, try installing the 1st package i.e., keyservice_package-1.0 (1).zip from the article and watch the result.

Thanks,
Ratna Kumar.

Avatar

Level 10

This article was updated as well today. 

Avatar

Level 5

   Hi All,

        Atlast i got it working. Many thanks for your guidance. The required jar file is getting created in bundle/target folder.

Now i am trying to autoinstall the bundle.

Avatar

Level 5

   Hi All,

        Atlast i got it working.  The required jar file is getting created in bundle/target folder. Infact i am able to do auto deploy also!!

Many thanks for your guidance.