Error in using and initializing Spotify API for Java web

0
I'm trying to use Spotify's Api for days and I really do not know what's going on, there are several errors in the WildFly Server Boot 11.0 in the case, already tried with others and the errors are the same and all related with apparently no achieve a class and "invalid LOC header".

12:13:32,285 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0003: Could not index class org/apache/commons/lang/BooleanUtils.class at /C:/Users/Victor/Desktop/wildfly-11.0.0.Final/standalone/deployments/casadocodigo.war/WEB-INF/lib/commons-lang-2.5.jar: java.util.zip.ZipException: invalid LOC header (bad signature)
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1400(Unknown Source)
at java.util.zip.ZipFile$ZipFileInputStream.read(Unknown Source)
at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.DataInputStream.readFully(Unknown Source)
at java.io.DataInputStream.readFully(Unknown Source)
at org.jboss.jandex.Indexer.verifyMagic(Indexer.java:1154)
at org.jboss.jandex.Indexer.index(Indexer.java:1441)
at org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:99)
at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

There are several errors like this, I have tried to update the class and continue with errors in others that are Commons, such as commons-httpclient-3.1, etc.

    
asked by anonymous 25.01.2018 / 13:25

0 answers