[
https://issues.apache.org/jira/browse/WW-4851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16180637#comment-16180637
]
Stefaan Dutry edited comment on WW-4851 at 9/26/17 11:49 AM:
-------------------------------------------------------------
[~lukaszlenart]
Is it just a warning or does it no longer start?
i've had a similar problem with the jetty plugin in the
struts2-bootsrap-showcase app.
fixed it over there by setting asm and asm-commons as dependencies of the jetty
server.
There is still a log4j2 warning that remains, but that was already the case
with lower versions of log4j2.
see:
[struts2-bootstrap-showcase
pom.xml|https://github.com/struts-community-plugins/struts2-bootstrap/blob/master/struts2-bootstrap-showcase/pom.xml]
{code:xml}
<plugins>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty-maven-plugin.version}</version>
...
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>${asm.version}</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-commons</artifactId>
<version>${asm.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
{code}
edit: i think in my case it was more related with updating the jetty-plugin
than updating log4j2
was (Author: sdutry):
[~lukaszlenart]
Is it just a warning or does it no longer start?
i've had a similar problem with the jetty plugin in the
struts2-bootsrap-showcase app.
fixed it over there by setting asm and asm-commons as dependencies of the jetty
server.
There is still a log4j2 warning that remains, but that was already the case
with lower versions of log4j2.
see:
[struts2-bootstrap-showcase
pom.xml|https://github.com/struts-community-plugins/struts2-bootstrap/blob/master/struts2-bootstrap-showcase/pom.xml]
{code:xml}
<plugins>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty-maven-plugin.version}</version>
...
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>${asm.version}</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-commons</artifactId>
<version>${asm.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
{code}
> Upgrade to Log4j2 2.9.0
> -----------------------
>
> Key: WW-4851
> URL: https://issues.apache.org/jira/browse/WW-4851
> Project: Struts 2
> Issue Type: Dependency
> Reporter: Stefaan Dutry
> Priority: Trivial
> Fix For: 2.5.14
>
>
> version {{2.9.0}} was released on {{2017-08-26}}
> [changelog|https://logging.apache.org/log4j/2.0/changes-report.html#a2.9.0]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)