You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Brian Lavender <br...@brie.com> on 2012/01/18 07:08:13 UTC

Trying get Spring security working

Can someone tell me what I am missing with my Spring Security integration? I attached
the source. In case the attachment doesn't go through, here it is.
http://brie.com/brian/wicket/authbar.zip

https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html

I get the following error.
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory

I took the sample from the examples on Wicket-auth-roles and I tried adding
in the spring security and I get a whole stack trace complaining about unable to
get a log factory. 

brian
-- 
Brian Lavender
http://www.brie.com/brian/

"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."

Professor C. A. R. Hoare
The 1980 Turing award lecture

Re: Trying get Spring security working

Posted by Russell Pitre <rp...@gmail.com>.
Look here for more info on Spring and logging.

>From section 1.3.2.x of
http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/overview.html

   <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>jcl-over-slf4j</artifactId>
      <version>1.5.8</version>
   </dependency>
   <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>1.5.8</version>
   </dependency>
   <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-log4j12</artifactId>
      <version>1.5.8</version>
   </dependency>
   <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>1.2.14</version>
   </dependency>




On Wed, Jan 18, 2012 at 1:08 AM, Brian Lavender <br...@brie.com> wrote:

> Can someone tell me what I am missing with my Spring Security integration?
> I attached
> the source. In case the attachment doesn't go through, here it is.
> http://brie.com/brian/wicket/authbar.zip
>
> https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html
>
> I get the following error.
> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.logging.LogFactory
>
> I took the sample from the examples on Wicket-auth-roles and I tried adding
> in the spring security and I get a whole stack trace complaining about
> unable to
> get a log factory.
>
> brian
> --
> Brian Lavender
> http://www.brie.com/brian/
>
> "There are two ways of constructing a software design. One way is to
> make it so simple that there are obviously no deficiencies. And the other
> way is to make it so complicated that there are no obvious deficiencies."
>
> Professor C. A. R. Hoare
> The 1980 Turing award lecture
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>

Re: Trying get Spring security working

Posted by Jeff Schneller <je...@mootus.com>.
It looks like you are missing the apache commons logging jar based on the stack trace. I believe it is a dependency for spring  You may also need sflj and/or log4j. 

Sent from my iPhone

On Jan 18, 2012, at 1:08 AM, Brian Lavender <br...@brie.com> wrote:

> Can someone tell me what I am missing with my Spring Security integration? I attached
> the source. In case the attachment doesn't go through, here it is.
> http://brie.com/brian/wicket/authbar.zip
> 
> https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html
> 
> I get the following error.
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
> 
> I took the sample from the examples on Wicket-auth-roles and I tried adding
> in the spring security and I get a whole stack trace complaining about unable to
> get a log factory. 
> 
> brian
> -- 
> Brian Lavender
> http://www.brie.com/brian/
> 
> "There are two ways of constructing a software design. One way is to
> make it so simple that there are obviously no deficiencies. And the other
> way is to make it so complicated that there are no obvious deficiencies."
> 
> Professor C. A. R. Hoare
> The 1980 Turing award lecture
> <authbar.zip>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org