Results 1 to 5 of 5

Thread: Problem in Acegi Sample/add.jsp

  1. #1
    Join Date
    Jul 2005
    Location
    Vienna
    Posts
    3

    Default Problem in Acegi Sample/add.jsp

    Hello,
    i have a li problem.

    When I want to add an user in the Sample App and click on the add-link, I get this error:

    javax.servlet.ServletException: Unable to compile class for JSP

    An error occurred at line: 10 in the jsp file: /WEB-INF/jsp/add.jsp
    Generated servlet error:
    org.springframework.web.servlet.tags.BindStatus cannot be resolved or is not a type

    Please, who know's what's the problem here is..
    Thx, with best regards,
    Martin

  2. #2
    Join Date
    Jul 2005
    Location
    Vienna
    Posts
    3

    Default

    I found the Problem but I donīt know how to fix it.

    The add.jsp work with JBoss 3.x, but it doesnīt work with JBoss 4.0.2.

    Can anybody help me? How can I use the sample app on JBoss 4?

    Thx, with best regards,
    Martin

  3. #3
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    Are you deploying the app with the jar files in the WEB-INF/lib? It's something to do with the container not being able to find the Spring class when it tries to run javac on the compiled JSP file. You might want to try clearing out the tomcat work directories and any other temp files and see if that helps.

  4. #4
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Also check you don't have any Spring JARs in your server classloader, as it's a common gotcha.
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

  5. #5
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    For reference:

    http://opensource.atlassian.com/proj.../browse/SEC-44

    There appears to be a problem with the spring.tld file in the sample app being out of date. You can remove it altogether - I think more recent containers should be able to locate the one in the spring jar file.

Similar Threads

  1. Spring 1.2 Resource + Acegi 0.8.2 Jaas problem
    By gmansoor in forum Security
    Replies: 10
    Last Post: Feb 26th, 2007, 02:14 PM
  2. Acegi for LDAP
    By vaibhav.gandhi in forum Security
    Replies: 12
    Last Post: Jul 13th, 2005, 12:33 AM
  3. Replies: 0
    Last Post: Apr 6th, 2005, 11:40 PM
  4. Replies: 6
    Last Post: Feb 11th, 2005, 04:42 AM
  5. Replies: 4
    Last Post: Nov 2nd, 2004, 02:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •