It was the maven team which informed me the issue is with ubuntu compiling
wrong classes incorrectly as described.

Now all my software is running without warnings.

I can also use any jdk  even the bleeding jdk version.

People are using maven and jdk with Tomcat.

Don't shoot the messenger.



On Mon, 6 Jan 2020, 20:17 Michael Osipov, <micha...@apache.org> wrote:

> Am 2020-01-06 um 21:13 schrieb Zahid Rahman:
> > That must be the reason why Apache Netbeans is using  a version from 2015
> > and Apache  Struts is recommending to use jdk 8.
> >
> >   Because there is somebody like you keeps telling people it is off topic
> > and Giant  IT companies are not releasing jdk further than JDK 8.
> >
> > The issue is a miserable and disgraceful failure in coordination by
> Apache
> > Foundation.
>
> This still has absolutely *nothing* to do with Tomcat. Complain to
> Debian for modifying packages. The Maven Team rejects any kind of source
> code modifications.
>
>
> > On Mon, 6 Jan 2020, 19:45 Mark Thomas, <ma...@apache.org> wrote:
> >
> >> On 06/01/2020 18:37, Zahid Rahman wrote:
> >>> To all ubuntu Maven  users.
> >>
> >> This is off-topic for this mailing list.
> >>
> >> Please keep posts on this list on topic.
> >>
> >> Thanks,
> >>
> >> Mark
> >>
> >>
> >>>
> >>> Do NOT  install maven using
> >>> sudo apt install maven
> >>>
> >>> Install by  direct download  only  from
> >>> https://maven.apache.org/download.cgi
> >>>
> >>> BECAUSE:
> >>>
> >>> "I seem to remember they [ubuntu] have their own build of Maven which
> >>> differs from the Apache source.
> >>>
> >>> ( https://bugs.launchpad.net/ubuntu/+source/maven/+bug/1754602
> suggests
> >>> it's a known bug in their packaging/build? )
> >>>
> >>> If you download Maven from http://maven.apache.org/download.cgi and
> >> follow
> >>> the instructions in http://maven.apache.org/install.html then you
> >> shouldn't
> >>> see those warnings. "
> >>>             ‐-------------------
> >>>
> >>> The Java 11 warning mentions that "/usr/share/maven/lib/guice.jar" has
> a
> >>> class named "com.google.inject.internal.cglib.core.$ReflectUtils$1"
> >>>
> >>> This looks suspect because the official Maven distribution uses the
> >>> "no-AOP" version of Guice which doesn't contain any CGLIB classes. It
> >>> suggests that whoever provided that copy of Maven has replaced the
> >> "no-AOP"
> >>> version with the "AOP" version, and this will cause warnings on Java
> 11.
> >>> (The "AOP" version uses CGLIB which currently relies on certain
> >> reflective
> >>> access that Java 11 warns about - whereas the "no-AOP" version
> doesn't.)
> >>>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >>
> >>
> >
>
>
>

Reply via email to