Sorry...

The following "Getting started" page "How To Create A Struts 2 Web
Application:
http://struts.apache.org/getting-started/how-to-create-a-struts2-web-application.html

Tells you to add:

<dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-core</artifactId>
    <version>2.8.2</version></dependency>


When it should be both log4j-core and log4j-api:


        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-core</artifactId>
            <version>2.8.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-api</artifactId>
            <version>2.8.2</version>
        </dependency>

Because struts has a dependency to an earlier version of log4j... if both
are explicitly specified even with x.x.x versions, most users would use the
latest and keep them in sync. It isn't fun to experience _any_ errors when
doing a starting tutorial.





On Mon, Jun 12, 2017 at 12:22 PM, Ken McWilliams <ken.mcwilli...@gmail.com>
wrote:

> The following "Getting started" page:
>
>


-- 
Sent from my C64 using a 300 baud modem

Reply via email to