Spring Security - context:component-scan base-package

Olá pessoal,

Alguém poderia me dá uma ajuda com o Spring Security? Estou tetando criar uns ROLÉS , porém ta dando um erro esquisito: Segue abaixo:

O prefixo “context” do elemento “context:component-scan” não está vinculado. [10]

[b]HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:159)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.23 logs.[/b]

Você adicionou o context no cabeçalho do XML?

<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation= "http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd default-autowire="byName">

Era isso mesmo man. Valeu meu irmão.

Passando só pra agradecer. Resolveu meu problema.