JiaXinPeng 2019-06-13 14:36
浏览 1026

求助!!wildfly单机部署war包时启动失败,报错。

我是在idea把正常运行的项目打成war包放在了wildfly(10和17两个版本都试了)的standalone\deployments目录下,然后直接运行standalone.bat的。启动时报错,无法加载bean。但是放到tomcat可以正常启动运行。
查遍中外文档和提问,还是没有解决。日志信息如下。

2019-06-13 14:20:54,155 INFO  [org.jboss.modules] (main) JBoss Modules version 1.9.1.Final
2019-06-13 14:20:54,643 INFO  [org.jboss.msc] (main) JBoss MSC version 1.4.7.Final
2019-06-13 14:20:54,653 INFO  [org.jboss.threads] (main) JBoss Threads version 2.3.3.Final
2019-06-13 14:20:54,752 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 17.0.0.Final (WildFly Core 9.0.1.Final) starting
2019-06-13 14:20:54,753 DEBUG [org.jboss.as.config] (MSC service thread 1-2) Configured system properties:
    awt.toolkit = sun.awt.windows.WToolkit
    file.encoding = GBK
    file.encoding.pkg = sun.io
    file.separator = \
    java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob = sun.awt.windows.WPrinterJob
    java.class.path = D:\widefly\wildfly-17.0.0.Final\jboss-modules.jar
    java.class.version = 52.0
    java.endorsed.dirs = D:\jdk1.8\jre\lib\endorsed
    java.ext.dirs = D:\jdk1.8\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
    java.home = D:\jdk1.8\jre
    java.io.tmpdir = C:\Users\Lenovo\AppData\Local\Temp\
    java.library.path = D:\jdk1.8\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;D:\jdk1.8\bin;D:\jdk1.8\jre\bin;C:\Program Files\TortoiseSVN\bin;D:\Maven\apache-maven-3.3.9\bin;D:\widefly\wildfly-17.0.0.Final\bin;C:\Users\Lenovo\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\Lenovo\AppData\Local\Programs\Python\Python37\;C:\Users\Lenovo\AppData\Local\Microsoft\WindowsApps;;.
    java.net.preferIPv4Stack = true
    java.runtime.name = Java(TM) SE Runtime Environment
    java.runtime.version = 1.8.0_211-b12
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Oracle Corporation
    java.specification.version = 1.8
    java.util.logging.manager = org.jboss.logmanager.LogManager
    java.vendor = Oracle Corporation
    java.vendor.url = http://java.oracle.com/
    java.vendor.url.bug = http://bugreport.sun.com/bugreport/
    java.version = 1.8.0_211
    java.vm.info = mixed mode
    java.vm.name = Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Oracle Corporation
    java.vm.specification.version = 1.8
    java.vm.vendor = Oracle Corporation
    java.vm.version = 25.211-b12
    javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder
    jboss.home.dir = D:\widefly\wildfly-17.0.0.Final
    jboss.host.name = desktop-e1tfeli
    jboss.modules.dir = D:\widefly\wildfly-17.0.0.Final\modules
    jboss.modules.system.pkgs = org.jboss.byteman
    jboss.node.name = desktop-e1tfeli
    jboss.qualified.host.name = desktop-e1tfeli
    jboss.server.base.dir = D:\widefly\wildfly-17.0.0.Final\standalone
    jboss.server.config.dir = D:\widefly\wildfly-17.0.0.Final\standalone\configuration
    jboss.server.data.dir = D:\widefly\wildfly-17.0.0.Final\standalone\data
    jboss.server.deploy.dir = D:\widefly\wildfly-17.0.0.Final\standalone\data\content
    jboss.server.log.dir = D:\widefly\wildfly-17.0.0.Final\standalone\log
    jboss.server.name = desktop-e1tfeli
    jboss.server.persist.config = true
    jboss.server.temp.dir = D:\widefly\wildfly-17.0.0.Final\standalone\tmp
    line.separator = 

    logging.configuration = file:D:\widefly\wildfly-17.0.0.Final\standalone\configuration/logging.properties
    module.path = D:\widefly\wildfly-17.0.0.Final\modules
    org.jboss.boot.log.file = D:\widefly\wildfly-17.0.0.Final\standalone\log\server.log
    org.jboss.resolver.warning = true
    os.arch = amd64
    os.name = Windows 10
    os.version = 10.0
    path.separator = ;
    program.name = standalone.bat
    sun.arch.data.model = 64
    sun.boot.class.path = D:\jdk1.8\jre\lib\resources.jar;D:\jdk1.8\jre\lib\rt.jar;D:\jdk1.8\jre\lib\sunrsasign.jar;D:\jdk1.8\jre\lib\jsse.jar;D:\jdk1.8\jre\lib\jce.jar;D:\jdk1.8\jre\lib\charsets.jar;D:\jdk1.8\jre\lib\jfr.jar;D:\jdk1.8\jre\classes
    sun.boot.library.path = D:\jdk1.8\jre\bin
    sun.cpu.endian = little
    sun.cpu.isalist = amd64
    sun.desktop = windows
    sun.io.unicode.encoding = UnicodeLittle
    sun.java.command = D:\widefly\wildfly-17.0.0.Final\jboss-modules.jar -mp D:\widefly\wildfly-17.0.0.Final\modules org.jboss.as.standalone -Djboss.home.dir=D:\widefly\wildfly-17.0.0.Final
    sun.java.launcher = SUN_STANDARD
    sun.jnu.encoding = GBK
    sun.management.compiler = HotSpot 64-Bit Tiered Compilers
    sun.os.patch.level = 
    sun.stderr.encoding = ms936
    sun.stdout.encoding = ms936
    user.country = CN
    user.dir = D:\widefly\wildfly-17.0.0.Final\bin
    user.home = C:\Users\Lenovo
    user.language = zh
    user.name = Lenovo
    user.script = 
    user.timezone = Asia/Shanghai
    user.variant = 
2019-06-13 14:20:54,754 DEBUG [org.jboss.as.config] (MSC service thread 1-2) VM Arguments: -Dprogram.name=standalone.bat -Xms128M -Xmx2048M -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=512m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Dorg.jboss.boot.log.file=D:\widefly\wildfly-17.0.0.Final\standalone\log\server.log -Dlogging.configuration=file:D:\widefly\wildfly-17.0.0.Final\standalone\configuration/logging.properties 
2019-06-13 14:20:55,611 INFO  [org.wildfly.security] (ServerService Thread Pool -- 28) ELY00001: WildFly Elytron version 1.9.1.Final
2019-06-13 14:20:56,314 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
2019-06-13 14:20:56,336 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 11) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
2019-06-13 14:20:57,497 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
2019-06-13 14:20:57,511 INFO  [org.xnio] (MSC service thread 1-6) XNIO version 3.7.2.Final
2019-06-13 14:20:57,518 INFO  [org.xnio.nio] (MSC service thread 1-6) XNIO NIO Implementation Version 3.7.2.Final
2019-06-13 14:20:57,546 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 51) WFLYCLINF0001: Activating Infinispan subsystem.
2019-06-13 14:20:57,550 INFO  [org.wildfly.extension.microprofile.config.smallrye._private] (ServerService Thread Pool -- 60) WFLYCONF0001: Activating WildFly MicroProfile Config Subsystem
2019-06-13 14:20:57,559 INFO  [org.wildfly.extension.microprofile.opentracing] (ServerService Thread Pool -- 63) WFLYTRACEXT0001: Activating MicroProfile OpenTracing Subsystem
2019-06-13 14:20:57,560 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 72) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
2019-06-13 14:20:57,589 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 74) WFLYWS0002: Activating WebServices Extension
2019-06-13 14:20:57,595 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 52) WFLYIO001: Worker 'default' has auto-configured to 16 core threads with 128 task threads based on your 8 available processors
2019-06-13 14:20:57,598 INFO  [org.wildfly.extension.microprofile.health.smallrye] (ServerService Thread Pool -- 61) WFLYHEALTH0001: Activating Eclipse MicroProfile Health Subsystem
2019-06-13 14:20:57,599 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 64) WFLYNAM0001: Activating Naming Subsystem
2019-06-13 14:20:57,611 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 70) WFLYSEC0002: Activating Security Subsystem
2019-06-13 14:20:57,621 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 53) WFLYRS0016: RESTEasy version 3.7.0.Final
2019-06-13 14:20:57,626 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 58) WFLYJSF0007: Activated the following JSF Implementations: [main]
2019-06-13 14:20:57,635 INFO  [org.jboss.as.connector] (MSC service thread 1-7) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.16.Final)
2019-06-13 14:20:57,637 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 43) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
2019-06-13 14:20:57,639 INFO  [org.jboss.as.security] (MSC service thread 1-3) WFLYSEC0001: Current PicketBox version=5.0.3.Final
2019-06-13 14:20:57,645 INFO  [org.wildfly.extension.microprofile.metrics.smallrye] (ServerService Thread Pool -- 62) WFLYMETRICS0001: Activating Eclipse MicroProfile Metrics Subsystem
2019-06-13 14:20:57,719 INFO  [io.smallrye.metrics] (MSC service thread 1-2) Converted [2] config entries and added [4] replacements
2019-06-13 14:20:57,727 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0003: Undertow 2.0.21.Final starting
2019-06-13 14:20:57,730 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0018: Started Driver service with driver-name = h2
2019-06-13 14:20:57,735 INFO  [io.smallrye.metrics] (MSC service thread 1-2) Converted [3] config entries and added [14] replacements
2019-06-13 14:20:57,755 INFO  [org.jboss.as.naming] (MSC service thread 1-4) WFLYNAM0003: Starting Naming Service
2019-06-13 14:20:57,786 INFO  [org.jboss.remoting] (MSC service thread 1-6) JBoss Remoting version 5.0.12.Final
2019-06-13 14:20:57,786 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-4) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
2019-06-13 14:20:57,871 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 73) WFLYUT0014: Creating file handler for path 'D:\widefly\wildfly-17.0.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
2019-06-13 14:20:57,930 INFO  [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 32 (per class), which is derived from the number of CPUs on this host.
2019-06-13 14:20:57,930 INFO  [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 128 (per class), which is derived from thread worker pool sizing.
2019-06-13 14:20:57,962 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0012: Started server default-server.
2019-06-13 14:20:57,970 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0018: Host default-host starting
2019-06-13 14:20:58,046 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
2019-06-13 14:20:58,105 INFO  [org.jboss.as.ejb3] (MSC service thread 1-7) WFLYEJB0493: EJB subsystem suspension complete
2019-06-13 14:20:58,173 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
2019-06-13 14:20:58,278 INFO  [org.jboss.as.patching] (MSC service thread 1-8) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
2019-06-13 14:20:58,294 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) WFLYDS0013: Started FileSystemDeploymentService for directory D:\widefly\wildfly-17.0.0.Final\standalone\deployments
2019-06-13 14:20:58,303 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "jeeplus.war" (runtime-name: "jeeplus.war")
2019-06-13 14:20:58,561 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
2019-06-13 14:20:58,636 INFO  [org.jboss.ws.common.management] (MSC service thread 1-6) JBWS022052: Starting JBossWS 5.3.0.Final (Apache CXF 3.3.2) 
2019-06-13 14:22:01,638 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry xbean.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/batik-js-1.7.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,652 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry avalon-framework-4.2.0.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/fop-0.94.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,652 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry batik-all-1.6.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/fop-0.94.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,653 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry commons-io-1.3.1.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/fop-0.94.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,654 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry commons-logging-1.0.4.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/fop-0.94.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,655 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry fop-hyph.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/fop-0.94.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,655 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry jai_codec.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/fop-0.94.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,656 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry jai_core.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/fop-0.94.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,656 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry jimi.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/fop-0.94.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,657 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry serializer-2.7.0.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/fop-0.94.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,657 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry servlet-2.2.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/fop-0.94.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,658 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry xalan-2.7.0.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/fop-0.94.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,662 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry xercesImpl-2.7.1.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/fop-0.94.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,664 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry xml-apis-1.3.02.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/fop-0.94.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,664 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry xmlunit1.0.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/fop-0.94.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,676 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry ridl.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/juh-2.3.0.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,676 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry jurt.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/juh-2.3.0.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,677 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry ridl.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/jurt-2.3.0.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,678 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry unoloader.jar in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/jurt-2.3.0.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,678 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry ../../lib/ in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/jurt-2.3.0.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:01,679 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0059: Class Path entry ../bin/ in /D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/lib/jurt-2.3.0.jar  does not point to a valid jar for a Class-Path reference.
2019-06-13 14:22:03,113 WARN  [org.jboss.as.ee] (MSC service thread 1-7) WFLYEE0007: Not installing optional component org.springframework.http.server.ServletServerHttpAsyncRequestControl due to an exception (enable DEBUG log level to see the cause)
2019-06-13 14:22:03,113 WARN  [org.jboss.as.ee] (MSC service thread 1-7) WFLYEE0007: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to an exception (enable DEBUG log level to see the cause)
2019-06-13 14:22:03,151 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-8) ISPN000128: Infinispan version: Infinispan 'Infinity Minus ONE +2' 9.4.14.Final
2019-06-13 14:22:03,202 WARN  [org.jboss.as.jaxrs] (MSC service thread 1-7) WFLYRS0018: Explicit usage of Jackson annotation in a JAX-RS deployment; the system will disable JSON-B processing for the current deployment. Consider setting the 'resteasy.preferJacksonOverJsonB' property to 'false' to restore JSON-B.
2019-06-13 14:22:03,206 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0004: Deploying JDBC-compliant driver class com.alibaba.druid.proxy.DruidDriver (version 4.0)
2019-06-13 14:22:03,213 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0004: Deploying JDBC-compliant driver class com.alibaba.druid.mock.MockDriver (version 0.0)
2019-06-13 14:22:03,214 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
2019-06-13 14:22:03,216 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0005: Deploying non-JDBC-compliant driver class net.sourceforge.jtds.jdbc.Driver (version 1.3)
2019-06-13 14:22:03,224 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.cj.jdbc.Driver (version 8.0)
2019-06-13 14:22:03,228 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0005: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 42.1)
2019-06-13 14:22:03,229 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0005: Deploying non-JDBC-compliant driver class org.apache.solr.client.solrj.io.sql.DriverImpl (version 1.0)
2019-06-13 14:22:03,269 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0018: Started Driver service with driver-name = jeeplus.war_org.h2.Driver_1_3
2019-06-13 14:22:03,270 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0018: Started Driver service with driver-name = jeeplus.war_net.sourceforge.jtds.jdbc.Driver_1_3
2019-06-13 14:22:03,270 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = jeeplus.war_com.alibaba.druid.proxy.DruidDriver_4_0
2019-06-13 14:22:03,271 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0018: Started Driver service with driver-name = jeeplus.war_com.mysql.cj.jdbc.Driver_8_0
2019-06-13 14:22:03,270 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0018: Started Driver service with driver-name = jeeplus.war_com.alibaba.druid.mock.MockDriver_0_0
2019-06-13 14:22:03,271 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = jeeplus.war
2019-06-13 14:22:03,276 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) WFLYJCA0018: Started Driver service with driver-name = jeeplus.war_org.apache.solr.client.solrj.io.sql.DriverImpl_1_0
2019-06-13 14:22:03,277 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) WFLYJCA0018: Started Driver service with driver-name = jeeplus.war_org.postgresql.Driver_42_1
2019-06-13 14:22:03,471 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 78) WFLYCLINF0002: Started client-mappings cache from ejb container
2019-06-13 14:22:03,586 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 111) No Spring WebApplicationInitializer types detected on classpath
2019-06-13 14:22:03,600 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 111) Set web app root system property: 'webapp.root' = [D:\widefly\wildfly-17.0.0.Final\standalone\tmp\vfs\temp\temp5858f9dbed7b899b\content-8652ab40c8a74b5c]
2019-06-13 14:22:03,603 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 111) Initializing log4j from [classpath:properties/log4j.properties]
2019-06-13 14:22:08,112 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (ServerService Thread Pool -- 111) Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'actMapper' defined in VFS resource ["/D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/classes/com/jeeplus/modules/act/mapper/ActMapper.class"]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring/spring-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
2019-06-13 14:22:09,473 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (ServerService Thread Pool -- 111) Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'actNodeSetingInfoMapper' defined in VFS resource ["/D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/classes/com/jeeplus/modules/act/mapper/ActNodeSetingInfoMapper.class"]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring/spring-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
2019-06-13 14:22:10,806 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (ServerService Thread Pool -- 111) Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'actSetingInfoMapper' defined in VFS resource ["/D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/classes/com/jeeplus/modules/act/mapper/ActSetingInfoMapper.class"]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring/spring-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
2019-06-13 14:22:11,979 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (ServerService Thread Pool -- 111) Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testPieClassMapper' defined in VFS resource ["/D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/classes/com/jeeplus/modules/echarts/mapper/other/TestPieClassMapper.class"]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring/spring-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
2019-06-13 14:22:13,133 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (ServerService Thread Pool -- 111) Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'TExamQusetionUserMapper' defined in VFS resource ["/D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/classes/com/jeeplus/modules/examque/mapper/TExamQusetionUserMapper.class"]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring/spring-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
2019-06-13 14:22:14,159 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (ServerService Thread Pool -- 111) Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'examQuestionMapper' defined in VFS resource ["/D:/widefly/wildfly-17.0.0.Final/bin/content/jeeplus.war/WEB-INF/classes/com/jeeplus/modules/examquestion/mapper/ExamQuestionMapper.class"]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring/spring-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException

报错信息1

报错信息2

  • 写回答

0条回答

    报告相同问题?

    悬赏问题

    • ¥50 易语言把MYSQL数据库中的数据添加至组合框
    • ¥20 求数据集和代码#有偿答复
    • ¥15 关于下拉菜单选项关联的问题
    • ¥20 java-OJ-健康体检
    • ¥15 rs485的上拉下拉,不会对a-b<-200mv有影响吗,就是接受时,对判断逻辑0有影响吗
    • ¥15 使用phpstudy在云服务器上搭建个人网站
    • ¥15 应该如何判断含间隙的曲柄摇杆机构,轴与轴承是否发生了碰撞?
    • ¥15 vue3+express部署到nginx
    • ¥20 搭建pt1000三线制高精度测温电路
    • ¥15 使用Jdk8自带的算法,和Jdk11自带的加密结果会一样吗,不一样的话有什么解决方案,Jdk不能升级的情况