Hi,
we plan to use Spring 2.5 in an Eclipse RCP environment. The jars are those of dist/modules/spring-*.jar (already packed as OSGi-Bundles). At this point we have a small problem: when we use ClassPathXmlApplicationContext, the xml-schemas are not found:
As a workaround we made some eclipse-fragments which export the META-INF directory of the spring-*.jar.Code:org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
Is there any better solution?
Regards,
Leo


Reply With Quote