File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Error: The matching wildcard is strict, but no declaration can be found for element 'remember-me' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Error: The matching wildcard is strict, but no declaration can be found for element Watch "Error: The matching wildcard is strict, but no declaration can be found for element New topic
Author

Error: The matching wildcard is strict, but no declaration can be found for element 'remember-me'

vikas sharmaa
Ranch Hand

Joined: Jun 28, 2007
Posts: 191
I am trying to implement Spring Security 3.0 with remember-me feature.

But i am getting the below exception on starting the tomcat server:

The matching wildcard is strict, but no declaration can be found for element 'remember-me'.



please find below my security config file:



following jars are included in the lib directory:


please tell me, where i am going wrong.
vikas sharmaa
Ranch Hand

Joined: Jun 28, 2007
Posts: 191
i moved <remember-me> tag inside <http use-expressions="true"> and the above error disappers as follows:



but, now i am getting a new error:



I am following this site http://www.jeviathon.com/2009/09/spring-security-30-with-active.html to implement remember-me feature in Spring Securtiy. But they have not given any implementation of 'inMemDataSource' bean.

please help me in resolving the error.
vikas sharmaa
Ranch Hand

Joined: Jun 28, 2007
Posts: 191
After going through http://static.springsource.org/spring-security/site/docs/3.0.x/reference/remember-me.html site. i understand that there are 2 implementations available for enabling remember-me feature. they are TokenBasedRememberMeServices and PersistentTokenBasedRememberMeServices respectively. can anybody please provide me a link or an example of these implementations.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error: The matching wildcard is strict, but no declaration can be found for element 'remember-me'
 
Similar Threads
Adding spring-security-core-3.0.5 to org.springframework.core-3.0.0.M3
How to implement Spring Form Based Authenticationand Authorization without session scope ?
applicationContext.xml - Can not find definition for element 'beans'
[Spring Security] No bean named 'springSecurityFilterChain' is defined
The matching wildcard is strict, but no declaration can be found for element 'authentication-provide