Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8237527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T19:30:02+00:00 2026-06-07T19:30:02+00:00

I have a project that used to run successfully on Spring 3.0 with Spring-MVC.

  • 0

I have a project that used to run successfully on Spring 3.0 with Spring-MVC. I’m moving it to Spring 3.1 and at the same time changing my jar management to Maven rather than manual download/copy to project/lib for Ant.

During loading the first (login) public page in the logs I see:
INFO: At least one JAR was scanned for TLDs yet contained no TLDs

Which makes me think one my taglib URLs isn’t being matched to an appropriate taglib jar. So either the URL is incorrect or I don’t have the appropriate jars.

In the top of my JSP:

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

I think it is the security tag that is having issues, as on the following page (after login) I get a new error:
javax.servlet.ServletException: javax.servlet.jsp.JspException: java.io.IOException: No visible WebSecurityExpressionHandler instance could be found in the application context. There must be at least one in order to support expressions in JSP ‘authorize’ tags.

This is new to me – I hadn’t had to define a ‘WebSecurityExpressionHandler’ when I was running the app with Spring 3.0 libraries, so either I’m missing a jar that provides the relevant stuff or something has changed in Spring 3.0 -> 3.1 in how I should be configuring the security of my application.

Edit:
I’ve found what looks like it should fulfil that role in my config:

`<bean id="expressionHandler" class="org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler" />`

And
<http auto-config="true" use-expressions="true" .... > in my security-context.xml

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T19:30:03+00:00Added an answer on June 7, 2026 at 7:30 pm

    You should have at least the following ones:

    • spring-security-config
    • spring-security-web
    • spring-security-taglibs

    additionally you can add spring-security-core but Maven should resolve it as a transitive dependency.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Spring MVC project that I've been deploying to Tomcat (installed both
We have a sub-project 'commonUtils' that has many generic code-snippets used across the parent
I have a problem regarding the ksoap2. My problem is that the project used
I have a large project in C++ Builder that seems to have used the
I have a project that is supposed to run on different (at least 2)
I have a project that comprises pre-build Dll modules, built some time in the
I have a project that is built and managed by Maven. I have a
I have a maven project that loads an xslt file and executes the transformation
I have a maven web project that imported into eclipse. I have another maven
I have a build project that I run from TeamCity, now it takes the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.