Expand my Community achievements bar.

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

Avatar

Level 2

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(HttpOsgiClient.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.java:59)

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

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

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

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

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

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

    at org.apache.sling.ide.eclipse.core.internal.ServerBehaviourDelegateWithModulePublishSupport.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)

0 Replies