tion:
> > > > > > >
> > > > > > > Nested exception is java.lang.NoSuchMethodError:
> > > > > > > javax.annotation.Resource.lookup()Ljava/lang/String;
> > > > > > >
> > > > > > > See
Romain Manni-Bucau <
> > > > > > rmannibu...@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Guess it just comes from guice or friends and since
t; > > custom components can use it so needs an evolution to toggle
> it
> > > > > > probably.
> > > > > > > >
> > > > > > > > Le lun. 14 oct. 2019 à 03:43, Tibor Digana <
> > > tibordig...@apache.org
> > > > >
rg
> > > >
> > > > a
> > > > > > > écrit :
> > > > > > >
> > > > > > > > It is a similar issue to the problem with "javax.inject" API.
> > > > > > > > What about relocating these two APIs to a package
> > > > "org.apache.maven
; > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Hello guys,
> > > > > > > >
> > > > > > > > I just decided to upgrade my build from 3.5.0 to 3.6.2 last
gt; > > > stumbled across multiple problems, latest one being the
> following
> > > > > > > exception:
> > > > > > >
> > > > > > > Nested exception is java.lang.NoSuchMethodError:
> > > > > > > javax.annotation.Resource.lookup()Ljava/lang/Strin
problems for me because I have moneta in
> my
> > > > > > classpath which brings newer version of jsr250:
> > > > > >
> > > > > > [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @
> > > drmartens
> > > > > ---
T
> > > > > [INFO] \-
> > > > >
> > > > >
> > > >
> > >
> >
> com.nemesis.platform:nemesis-platform-core:jar:2.1.67.BUILD-SNAPSHOT:compile
> > > > > [INFO]\- org.javamoney:moneta:pom:1.3:compile
> &g
0-SNAPSHOT
> > > > > [INFO] \-
> > > > >
> > > > >
> > > >
> > >
> >
> com.nemesis.platform:nemesis-platform-core:jar:2.1.67.BUILD-SNAPSHOT:compile
> > > > > [INFO]\- org.javamoney:moneta:pom:1.3:compile
> > &
> > [INFO]\- org.javamoney:moneta:pom:1.3:compile
> > > > [INFO] \-
> javax.annotation:javax.annotation-api:jar:1.3.2:compile
> > > > [INFO]
> > > >
> >
> > >
SHOT:compile
> > > [INFO]\- org.javamoney:moneta:pom:1.3:compile
> > > [INFO] \- javax.annotation:javax.annotation-api:jar:1.3.2:compile
> > > [INFO]
> > >
> ----------------
> > >
>
- javax.annotation:javax.annotation-api:jar:1.3.2:compile
> > [INFO]
> >
> >
> > So I was able to fix this following this recommendation:
> >
> >
> https://stackoverflow.com/questions/52607
> So I was able to fix this following this recommendation:
>
> https://stackoverflow.com/questions/52607814/how-to-remove-a-maven-lib-jsr250-api-1-0-jar-from-the-plugin-classpath-jetty
> using extensions, but I was wondering: why do we need the JSR250 in the lib
> folder? Also w
following this recommendation:
https://stackoverflow.com/questions/52607814/how-to-remove-a-maven-lib-jsr250-api-1-0-jar-from-the-plugin-classpath-jetty
using extensions, but I was wondering: why do we need the JSR250 in the lib
folder? Also why do we need such an old version?
--
Regards, Petar!
Karlovo
14 matches
Mail list logo