0 Replies Latest reply on Mar 24, 2016 1:22 PM by kdatta21

    org.apache.sling.ide.osgi.OsgiClientException: Unable to install/update bundle from dir

    kdatta21 Level 1

      Hi I am getting this error while publishing  my project in server. Can anyone help me out.What will be the reason?

       

      !ENTRY org.apache.sling.ide.eclipse-core 4 0 2016-03-25 01:32:54.405

      !MESSAGE Publishing failed

      !SUBENTRY 1 org.apache.sling.ide.eclipse-core 4 0 2016-03-25 01:32:54.405

      !MESSAGE Failed publishing path=/content/dam/firstaem/asset.jpg, result=JcrResult[ success:false, exception: org.apache.sling.ide.transport.RepositoryException - javax.jcr.NamespaceException: stEvt: is not a registered namespace prefix.]

      !SUBENTRY 1 org.apache.sling.ide.eclipse-core 4 0 2016-03-25 01:32:54.405

      !MESSAGE Failed installing bundle : Unable to install/update bundle from dir C:\AEM\FirstAemProject\core\target\classes : Unresolved constraint in bundle com.aem.FirstAemProject.core [292]: Unable to resolve 292.0: missing requirement [292.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.api)(version>=2.3.0)(!(version>=3.0.0)))

      !STACK 0

      org.apache.sling.ide.osgi.OsgiClientException: Unable to install/update bundle from dir C:\AEM\FirstAemProject\core\target\classes : Unresolved constraint in bundle com.aem.FirstAemProject.core [292]: Unable to resolve 292.0: missing requirement [292.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.api)(version>=2.3.0)(!(version>=3.0.0)))

          at org.apache.sling.ide.osgi.impl.HttpOsgiClient$LocalBundleInstaller.installBundle(HttpOsgi Client.java:251)

          at org.apache.sling.ide.osgi.impl.HttpOsgiClient.installLocalBundle(HttpOsgiClient.java:168)

          at org.apache.sling.ide.osgi.impl.TracingOsgiClient.logInstallLocalBundle(TracingOsgiClient. java:77)

          at org.apache.sling.ide.osgi.impl.TracingOsgiClient.installLocalBundle(TracingOsgiClient.jav a:59)

          at org.apache.sling.ide.eclipse.core.internal.SlingLaunchpadBehaviour.publishBundleModule(Sl ingLaunchpadBehaviour.java:351)

          at org.apache.sling.ide.eclipse.core.internal.SlingLaunchpadBehaviour.publishModule(SlingLau nchpadBehaviour.java:233)

          at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDe legate.java:1091)

          at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourD elegate.java:1183)

          at org.apache.sling.ide.eclipse.core.internal.ServerBehaviourDelegateWithModulePublishSuppor t.publish(ServerBehaviourDelegateWithModulePublishSupport.java:137)

          at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate .java:774)

          at org.apache.sling.ide.eclipse.core.internal.ServerBehaviourDelegateWithModulePublishSuppor t.publish(ServerBehaviourDelegateWithModulePublishSupport.java:54)

          at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3157)

          at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:345)

          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)