You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by Tigor <ig...@yahoo.com> on 2010/05/03 15:29:07 UTC

shiro:hasAnyRoles problem

Greetings,
i am trying to use shiro:hasAnyRoles tag. But i get an error with message
Exception Message: Tag [hasAnyRoles] does not exist. No tag library found
for namespace: shiro 
which is very strage, because if i use shiro:hasRole tag, it works fine.
Any suggestion ?
Thank you in adavnce.
Kind regards,
Igor
-- 
View this message in context: http://shiro-user.582556.n2.nabble.com/shiro-hasAnyRoles-problem-tp4997763p4997763.html
Sent from the Shiro User mailing list archive at Nabble.com.

Re: shiro:hasAnyRoles problem

Posted by Les Hazlewood <lh...@apache.org>.
I'm not sure why you'd be getting this without seeing a sample app or
test case - the org.apache.shiro.web.tags.HasAnyRolesTag class has
been around since 0.2 and it is correctly represented in the shiro.tld
file.

- Les

On Mon, May 3, 2010 at 6:29 AM, Tigor <ig...@yahoo.com> wrote:
>
> Greetings,
> i am trying to use shiro:hasAnyRoles tag. But i get an error with message
> Exception Message: Tag [hasAnyRoles] does not exist. No tag library found
> for namespace: shiro
> which is very strage, because if i use shiro:hasRole tag, it works fine.
> Any suggestion ?
> Thank you in adavnce.
> Kind regards,
> Igor
> --
> View this message in context: http://shiro-user.582556.n2.nabble.com/shiro-hasAnyRoles-problem-tp4997763p4997763.html
> Sent from the Shiro User mailing list archive at Nabble.com.
>