Hello!

i'm trying to run roller on Apache Tomcat 6.0.16 but i get following error:

23.06.2008 12:12:47 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of 
class org.apache.roller.weblogger.ui.core.RollerContext
org.springframework.beans.factory.BeanDefinitionStoreException: Line 22 in XML 
document from ServletContext resource [/WEB-INF/security.xml] is invalid; 
nested exception is org.xml.sax.SAXParseException: Document root element 
"beans:beans", must match DOCTYPE root "null".
org.xml.sax.SAXParseException: Document root element "beans:beans", must match 
DOCTYPE root "null".

in the security.xml file line 22 is

http://www.springframework.org/schema/security 
http://www.springframework.org/schema/security/spring-security-2.0.2.xsd";>

and it is is a part of declaration 

<beans:beans xmlns="http://www.springframework.org/schema/security"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
             xmlns:beans="http://www.springframework.org/schema/beans";
             xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
              http://www.springframework.org/schema/security 
http://www.springframework.org/schema/security/spring-security-2.0.2.xsd";>

i'm using spring framework 2.5 and security 2.0.2 packages as well.


Thanks everyone.

Reply via email to