Spring Dynamic Module - Parse Exception while deploying the osgi bundle to IBM Liberty -


i getting below parse exception while deploying spring dm osgi bundle ibm liberty.

caused by: org.springframework.beans.factory.xml.xmlbeandefinitionstoreexception: line 2 in xml document url [bundleentry://240.fwk843512726/web-inf/applicationcontext.xml] invalid; nested exception org.xml.sax.saxparseexception; systemid: http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd; linenumber: 2; columnnumber: 35; s4s-elt-character: non-whitespace characters not allowed in schema elements other 'xs:appinfo' , 'xs:documentation'. saw '301 moved permanently'.

can have clue why getting error.

thanks!

if use "legacy" spring dm, "blueprint" namespace not 1 should use. xsd not packaged in bundles of container : springdm try download network, , proxy/web server sends http redirect (301), not valid xsd document..

with springdm, should use spring namespaces.

however, springdm obsolete now, , should not used.. can use blueprint, or better declaratives services.

there 2 implementations of blueprint can use : aries-blueprint, or gemini blueprint (which supports spring 4.3, blueprint , more or less compatible springdm)


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -