I using log4j.xml

http://www.nabble.com/file/p23547818/log4j.xml log4j.xml   attached is my
log4j.xml

James Carman-3 wrote:
> 
> Can we see your log4j.properties file?
> 
> On Thu, May 14, 2009 at 3:39 PM, tubin gen <fachh...@gmail.com> wrote:
>> bean wicketApplication'  is my web-application's
>> org.apache.wicket.Application
>>
>> this is the error message I get   starting my application
>>
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean
>> with name 'wicketApplication' defined in class path resource
>> [applicationContext-web.xml]: Instantiation of bean failed; nested
>> exception
>> is java.lang.NoSuchFieldError: name
>>
>> root cause
>>
>> Caused by: java.lang.NoSuchFieldError: name
>>    at
>> org.slf4j.impl.Log4jLoggerAdapter.<init>(Log4jLoggerAdapter.java:75)
>>    at
>> org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:75)
>>    at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:103)
>>    at org.apache.wicket.Application.<clinit>(Application.java:143)
>>    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>>    at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>>    at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>>    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>>    at
>> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
>>    at
>> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
>>    at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
>>
>> please suggest  what am I  missing ,
>>
>> My project is   built by maven   and this is a project   with
>> sub-projects
>> jar,war,  and ear and its uses spring , hibernate , and wicket 1.4,
>>
>> I specified the dependency   for org.slf4j
>>
>>     <dependency>
>>        <groupId>org.slf4j</groupId>
>>        <artifactId>slf4j-log4j12</artifactId>
>>        <version>1.5.5</version>
>>    </dependency>
>> please suggest  what version should I use ?
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/error-because-of-log4j-from-org.apache.wicket.Application-tp23547592p23547818.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to