当前位置: 首页 > 知识库问答 >
问题:

警告[org.jboss.as.server.deployment](MSC服务线程1-4)WFLYSRV0003:无法索引类

狄钧
2023-03-14

我遵循了pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mkyong</groupId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>spring3 mvc maven</name>

<properties>
    <jdk.version>1.6</jdk.version>
    <spring.version>3.0.0.RELEASE</spring.version>
    <jstl.version>1.2</jstl.version>
    <jackson.version>1.9.10</jackson.version>
</properties>

<dependencies>

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-webmvc</artifactId>
        <version>${spring.version}</version>
    </dependency>

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-beans</artifactId>
        <version>${spring.version}</version>
    </dependency>

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-orm</artifactId>
        <version>${spring.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-aop</artifactId>
        <version>${spring.version}</version>
    </dependency>



    <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>jstl</artifactId>
        <version>${jstl.version}</version>
    </dependency>

    <dependency>
        <groupId>com.google.code.gson</groupId>
        <artifactId>gson</artifactId>
        <version>2.8.0</version>
    </dependency>






</dependencies>

<build>

    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>3.3</version>
            <configuration>
                <source>${jdk.version}</source>
                <target>${jdk.version}</target>
            </configuration>
        </plugin>

        <plugin>
            <groupId>org.wildfly.plugins</groupId>
            <artifactId>wildfly-maven-plugin</artifactId>
            <version>1.1.0.Alpha5</version>
        </plugin>

        <!-- <plugin> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> 
            <version>9.2.11.v20150529</version> <configuration> <scanIntervalSeconds>10</scanIntervalSeconds> 
            <webApp> <contextPath>/spring3</contextPath> </webApp> </configuration> </plugin> -->

        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-eclipse-plugin</artifactId>
            <version>2.9</version>
            <configuration>
                <downloadSources>true</downloadSources>
                <downloadJavadocs>true</downloadJavadocs>
                <wtpversion>2.0</wtpversion>
                <wtpContextName>spring3</wtpContextName>
            </configuration>
        </plugin>

    </plugins>
</build>

<artifactId>kuppiWar</artifactId>
22:57:12,211 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0003: Could not index class org/springframework/remoting/jaxws/LocalJaxWsServiceFactoryBean.class at /C:/Users/admin/wildfly-10.0.0.Final/standalone/deployments/kuppiWar.war/WEB-INF/lib/spring-web-3.0.0.RELEASE.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:1146)
at org.jboss.jandex.Indexer.index(Indexer.java:1433)
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:147)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
22:57:12,315 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"kuppiWar.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"kuppiWar.war\".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"kuppiWar.war\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0161: Failed to get manifest for deployment \"/C:/Users/admin/wildfly-10.0.0.Final/standalone/deployments/kuppiWar.war/WEB-INF/lib/spring-beans-3.0.0.RELEASE.jar\"
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)"}}

22:57:12,387信息[org.jboss.as.server](DeploymentScanner-Threads-1)WFLYSRV0016:将部署“Kuppiwar.war”替换为部署“Kuppiwar.war”22:57:12,388信息[org.jboss.as.controller“(DeploymentScanner-Threads-1)WFLYCTL0183:服务状态报告WFLYCTL0186:无法启动的服务:服务jboss.deployment.unit。”Kuppiwar.war“。结构服务jboss.deployment.unit。”Kuppiwar.war“。结构服务jboss.deployment.unit。单元.”Kuppiwar.war“.结构:WFLYSRV0153:无法处理部署”Kuppiwar.war“的阶段结构

共有1个答案

方斌
2023-03-14

>

  • 检查部署存档是否损坏,必要时重新打包。

    如果使用“域模式”,并且在域控制器和主机控制器之间,或者在两个主机控制器之间有防火墙或其他安全策略,则文件传输可能会被防火墙阻止。在这种情况下,以下错误消息将被抛出。

  •  类似资料:
    • 帮助我希望您有以下错误: 22:50:45854错误[org.jboss.msc.service.fail](msc服务线程1-1)MSC000001:无法启动服务jboss。在船底。部署。默认服务器。默认主机/opciondefensa。UndertowDeploymentInfoService:org。jboss。理学硕士。服务服务jboss中的StartException。在船底。部署。默认

    • 当我将函数应用于Groupby对象的多个列时,Pandas会抛出一个Future Warning。它建议使用列表作为索引,而不是元组。一个人会怎么做?

    • 每次我运行< code>pip时,都会出现以下警告。 警告:旧脚本包装程序正在调用pip。这将在未来版本的pip中失败。请看https://github.com/pypa/pip/issues/5599寻求解决潜在问题的建议。为了避免这个问题,您可以使用“-m pip”调用Python,而不是直接运行pip。 请帮我理解一下。Pip警告 编辑1。我尝试重新安装pip,但警告仍然存在。此外,我还附上

    • 我试图通过json从在线数据库(MySql)获取数据,并希望将其显示为ListView。到目前为止我所做的: Downloader.java } 美娜ctivity.java 当我运行应用程序时,应用程序。。在Downloader.java类的第35行,我收到一条toast消息,上面写着“无法下载数据”。所以我猜我从数据库中得到的数据是空的…但为什么是空的。。。。 $con=mysqli_conn

    • 问题内容: 我一直在慢慢学习PHP,并找到了有关其他开发人员发布的主题和解决方案的一系列信息。我正在尝试让Android应用程序通过HTTP发布将文件上传到PHP服务器。但是,尝试在PHP中写入文件时,服务器端无法正常工作。 这是PHP代码: 我已经从检查客户端的鲨鱼中知道HTTP帖子已正确发送,并且我已确保将文件写入的目录具有正确的权限,并且php安全模式已设置为off。 apache2 err

    • 我有一些r/cerot代码来将几个交叉验证的模型适合于一些数据,但是我收到一条警告消息,说我在查找有关的任何信息时遇到了困难。这是我应该关心的事吗?