Auf Thema antworten

das mit dem log4j ist nun ok, dass mit dem applicationContext bekomme ich einfach nicht in den griff. im log-file wird mir jetzt folgendes ausgegeben:


SCHWERWIEGEND: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 15; The value following "version" in the XML declaration must be a quoted string.

        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:378)

        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:316)

        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:284)

        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)

        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)

        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)

        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)

        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)

        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:126)

        at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:419)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:349)

        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:254)

        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)

        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)

        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)

        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)


was muss ich machen, damit es läuft?



Oben