Currently have this:
<sec:ifLoggedIn>
<sec:username/><br/>
<sec:roles/><br/>
<g:link controller="logout" action="index">Logout</g:link>
</sec:ifLoggedIn>
<sec:ifNotLoggedIn>
<h1>Who are you?</h1><br/>
<g:link controller="login" action="auth">LOGIN</g:link>
</sec:ifNotLoggedIn>
Which gives the error:
Tag [roles] does not exist. No tag library found for namespace: sec
However when I remove <sec:roles/><br/>
it works fine. Why is this? This is only a problem in production, on intellij everything is great.