Update request to web site regarding Log4j and "Getting Started" section

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Update request to web site regarding Log4j and "Getting Started" section

Ken McWilliams
The following "Getting started" page:
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Update request to web site regarding Log4j and "Getting Started" section

Ken McWilliams
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 <[hidden email]>
wrote:

> The following "Getting started" page:
>
>


--
Sent from my C64 using a 300 baud modem
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Update request to web site regarding Log4j and "Getting Started" section

Lukasz Lenart
If you have an account on GitHub you can edit this page directly on
GitHub and open a PR - I have added links to simplify this. If you
don't have the account, I will update this page.

2017-06-12 20:28 GMT+02:00 Ken McWilliams <[hidden email]>:

> 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 <[hidden email]>
> wrote:
>
>> The following "Getting started" page:
>>
>>
>
>
> --
> Sent from my C64 using a 300 baud modem

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Update request to web site regarding Log4j and "Getting Started" section

lukaszlenart
In reply to this post by Ken McWilliams
Done

2017-06-12 20:28 GMT+02:00 Ken McWilliams <[hidden email]>:

> 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 <[hidden email]>
> wrote:
>
>> The following "Getting started" page:
>>
>>
>
>
> --
> Sent from my C64 using a 300 baud modem



--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Confitura conference http://confitura.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Update request to web site regarding Log4j and "Getting Started" section

Ken McWilliams
Thank you, I've just looked into how to edit the pages, I'll keep it in
mind for the future. Thank you!

I'll try to make a couple edits in the near future, something about those
tag reference pages have been annoying me for years (I'm aware they are
automatically generated).

On Tue, Jun 13, 2017 at 12:03 AM, Łukasz Lenart <[hidden email]>
wrote:

> Done
>
> 2017-06-12 20:28 GMT+02:00 Ken McWilliams <[hidden email]>:
> > 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 <
> [hidden email]>
> > wrote:
> >
> >> The following "Getting started" page:
> >>
> >>
> >
> >
> > --
> > Sent from my C64 using a 300 baud modem
>
>
>
> --
> Łukasz
> mobile +48 606 323 122 http://www.lenart.org.pl/
> Confitura conference http://confitura.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Sent from my C64 using a 300 baud modem
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Update request to web site regarding Log4j and "Getting Started" section

Lukasz Lenart
2017-06-13 19:28 GMT+02:00 Ken McWilliams <[hidden email]>:
> Thank you, I've just looked into how to edit the pages, I'll keep it in mind
> for the future. Thank you!

Great :)

> I'll try to make a couple edits in the near future, something about those
> tag reference pages have been annoying me for years (I'm aware they are
> automatically generated).

So you must hit directly the source though :)


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...