org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to validate xml

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

The persistence_2_0.xsd enforces the order of the elements in the xml. Re-ordering them makes then error go away.

Solutions on the web

via cxf-users by janb, 1 year ago
via Stack Overflow by mikelee
, 1 year ago
Unable to validate xml
via nabble.com by Unknown author, 1 year ago
via karaf-user by Aritra Chatterjee, 1 year ago
Unable to validate xml
via karaf-user by Aritra Chatterjee, 1 year ago
Unable to validate xml
org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'p:externalAttachment'.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(UnknownSource)
at org.apache.xerces.util.ErrorHandlerWrapper.error(UnknownSource)
at org.apache.xerces.impl.XMLErrorReporter.reportError(UnknownSource)
at org.apache.xerces.impl.XMLErrorReporter.reportError(UnknownSource)
at org.apache.xerces.impl.XMLErrorReporter.reportError(UnknownSource)
at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(UnknownSource)
at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(UnknownSource)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(UnknownSource)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(UnknownSource)
at org.apache.xerces.jaxp.validation.DOMValidatorHelper.beginNode(UnknownSource)
at org.apache.xerces.jaxp.validation.DOMValidatorHelper.validate(UnknownSource)
at org.apache.xerces.jaxp.validation.DOMValidatorHelper.validate(UnknownSource)
at org.apache.aries.blueprint.parser.Parser.validate(Parser.java:285)
at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:313)
at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:261)
at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:259)
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHookPrivileged(ServiceRegistry.java:1239)
at org.eclipse.osgi.framework.internal.core.Framework.notifyEventHooksPrivileged(Framework.java:1603)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1558)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1505)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1500)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:391)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.resumeBundles(PackageAdminImpl.java:312)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.processDelta(PackageAdminImpl.java:556)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:251)
at java.lang.Thread.run(Thread.java:724)

Users with the same issue

2 times, 2 months ago
2 times, 2 months ago
7 times, 8 months ago
2 times, 8 months ago
2 times, 8 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.