- This topic has 5 replies, 4 voices, and was last updated 14 years ago by
jayperkins.
-
AuthorPosts
-
paletisureshMemberHello,
Here are the steps i followed
1. created a web project
2. scaffold spring crud application (derby database)
Every thing worked fine (Ran the application on server worked perfect!)Later decided to add spring security
3. Scaffold Spring security and then got the error in the generated code
SpringSecurityTest-generated-security-context.xml
Error:
spring-security-web classes are not available. You need these to use <filter-chain-map>
SpringSecurityTest-generated-security-context.xml /SpringSecurityTest/resources line 18 Spring Beans ProblemHere is the piece of code that is generated
18<http auto-config=”true” >
19 <intercept-url pattern=’/pages/login.jsp’ filters=’none’/>
20 <intercept-url pattern=”/*” access=”IS_AUTHENTICATED_REMEMBERED” />
21 <form-login login-page=”/pages/login.jsp” authentication-failure-url=”/pages/login.jsp?login_error=true” />
22 <logout logout-success-url=”/pages/logout-redirect.jsp” invalidate-session=”true” />
23 <remember-me key=”SpringSecurityTestRMKey” user-service-ref=”userDetailsService” />
24 </http>Note: But when i run the application its working fine (but curios about the error I googled the error and found that I have to add the following in manifest
Import-Library: org.springframework.spring;version=”[3.0.0.RELEASE,3.0.2.RELEASE]”
Adding this in the manifest did not solved my problem, can any one please help me
davemeurerMemberHello,
We are trying to reproduce this error. Would you confirm the following:
– Are you using version 8.6.1?
– Are you using Spring 3.0?
– Is this an error or a warning?Kind regards,
Dave
paletisureshMemberHello Dave
1. used 8.6.0
2. used spring 3.0
3. it was an errorI will update to 8.6.1 and let you know if i am still getting the error.
Thanks,
Suresh Paleti
wlapriseMemberI am having the same error following an attempt to (security) scaffold a simple new project. Was there any resolution? Thanks.
Bill
wlapriseMemberI am having the same error following an attempt to (security) scaffold a simple new project. Was there any resolution? Thanks.
Bill
jayperkinsMemberHi,
Are you seeing this error in the Problems tab or is this error part of a stack trace that you get when you start your server? At first glance, it looks like the spring security jars are either not in your java build path or they are not getting deployed to the server.
Thanks,
Jay
-
AuthorPosts