Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Warnings após mvn install

Após fazer o mvn install do projeto produtos quando rodei o jetty run apareceu esses dois warnings Alguém sabe me explicar o que são?

C:\Users\erivanjunior\eclipse-workspace2\lojamaven>mvn jetty:run -Djetty.port=8005
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------< br.com.maven.loja:lojamaven >---------------------
[INFO] Building lojamaven Maven Webapp 1.0.0-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] >>> jetty-maven-plugin:9.4.20.v20190813:run (default-cli) > test-compile @ lojamaven >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ lojamaven ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ lojamaven ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ lojamaven ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\erivanjunior\eclipse-workspace2\lojamaven\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ lojamaven ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< jetty-maven-plugin:9.4.20.v20190813:run (default-cli) < test-compile @ lojamaven <<<
[INFO]
[INFO]
[INFO] --- jetty-maven-plugin:9.4.20.v20190813:run (default-cli) @ lojamaven ---
[INFO] webAppSourceDirectory not set. Trying src\main\webapp
[INFO] Reload Mechanic: automatic
[INFO] nonBlocking:false
[INFO] Classes = C:\Users\erivanjunior\eclipse-workspace2\lojamaven\target\classes
[INFO] Configuring Jetty for project: lojamaven Maven Webapp
[INFO] Logging initialized @7187ms to org.eclipse.jetty.util.log.Slf4jLog
[INFO] Context path = /
[INFO] Tmp directory = C:\Users\erivanjunior\eclipse-workspace2\lojamaven\target\tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides =  none
[INFO] web.xml file = file:///C:/Users/erivanjunior/eclipse-workspace2/lojamaven/src/main/webapp/WEB-INF/web.xml
[INFO] Webapp directory = C:\Users\erivanjunior\eclipse-workspace2\lojamaven\src\main\webapp
[INFO] jetty-9.4.20.v20190813; built: 2019-08-13T21:28:18.144Z; git: 84700530e645e812b336747464d6fbbf370c9a20; jvm 1.8.0_221-b11
[INFO] JVM Runtime does not support Modules
[WARNING] org.xmlpull.v1.XmlPullParser scanned from multiple locations: jar:file:///C:/Users/erivanjunior/.m2/repository/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar!/org/xmlpull/v1/XmlPullParser.class, jar:file:///C:/Users/erivanjunior/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar!/org/xmlpull/v1/XmlPullParser.class
[WARNING] org.xmlpull.v1.XmlPullParserException scanned from multiple locations: jar:file:///C:/Users/erivanjunior/.m2/repository/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar!/org/xmlpull/v1/XmlPullParserException.class, jar:file:///C:/Users/erivanjunior/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar!/org/xmlpull/v1/XmlPullParserException.class
[INFO] Scanning elapsed time=324ms
[INFO] DefaultSessionIdManager workerName=node0
[INFO] No SessionScavenger set, using defaults
[INFO] node0 Scavenging every 660000ms
[INFO] Started o.e.j.m.p.JettyWebAppContext@77cb9cd1{/,file:///C:/Users/erivanjunior/eclipse-workspace2/lojamaven/src/main/webapp/,AVAILABLE}{file:///C:/Users/erivanjunior/eclipse-workspace2/lojamaven/src/main/webapp/}
[INFO] Started ServerConnector@70c0a3d5{HTTP/1.1,[http/1.1]}{0.0.0.0:8005}
[INFO] Started @9782ms
[INFO] Started Jetty Server
1 resposta
solução!

Seu projeto tem a classe org.xmlpull.v1.XmlPullParser vindo de 2 JARs diferentes (e aparentemente em duas versões diferentes)