org.apache.shiro.UnavailableSecurityManagerException

No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is an invalid application configuration.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web30

  • via JIRA by Etienne Morency-Bachand [X], 1 year ago
    No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is an invalid application configuration.
  • via JIRA by Etienne Morency-Bachand [X], 1 year ago
    No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is an invalid application configuration.
  • via GitHub by seamusmac
    , 1 year ago
    No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is an invalid application configuration.
  • Stack trace

    • org.apache.shiro.UnavailableSecurityManagerException: No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is an invalid application configuration. at org.apache.shiro.SecurityUtils.getSecurityManager(SecurityUtils.java:123)[207:org.apache.shiro.core:1.2.4] at org.apache.shiro.subject.Subject$Builder.<init>(Subject.java:627)[207:org.apache.shiro.core:1.2.4] at org.apache.shiro.SecurityUtils.getSubject(SecurityUtils.java:56)[207:org.apache.shiro.core:1.2.4]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago