2016-03-21 23:21 GMT+01:00 José Antonio Delgado Trujillo <jadt...@gmail.com>:
> Well there are some difference between the online documentation tutorial 
> basic-struts and the github examples.
>
> In the documentation
> log4j.xml
> and in the pom the dependency log4j as artifactId.
>
> In the github
> lo4j2.xml
> and in the pom the dependency log4j-core like artifactId

Yes, sorry for that :( struts-examples are targeting Struts 2.5 but
documentation is still pointing Struts 2.3.x

> i used the first, i find log4j.jar in my local repository but i still see the 
> Eclipse warning in the xml file
> (file cannot be validated as the XML definition) Eclipse look up in the 
> workspace for log4j.dtd
>
> Why Eclipse doesn’t find did file in the log4j.jar?

No idea, I'm using IDEA and I don't have such problems

> Is there an important difference between log4j and log4j2?

Yes, more details you can find here
https://www.grobmeier.de/log4j-2-performance-close-to-insane-20072013.html


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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

Reply via email to