Artifact storage:war exploded: Error during artifact deployment. See server log for details.

IntellJ IDEA:Artifact storage:war exploded: Error during artifact deployment. See server log for details.

1、异常信息

这个错误信息太少,无法判断。

Connected to server
[2017-11-02 01:37:26,698] Artifact storage:war exploded: Artifact is being deployed, please wait...
02-Nov-2017 13:37:28.055 信息 [RMI TCP Connection(2)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
02-Nov-2017 13:37:28.063 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
02-Nov-2017 13:37:28.068 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [/storage] startup failed due to previous errors
[2017-11-02 01:37:28,077] Artifact storage:war exploded: Error during artifact deployment. See server log for details.
02-Nov-2017 13:37:36.643 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/apache-tomcat-8.5.20/webapps/manager]
02-Nov-2017 13:37:36.697 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/opt/apache-tomcat-8.5.20/webapps/manager] has finished in [55] ms

2、解决办法

查看Tomcat日志,只有找到准确的异常信息,才能定位问题。

[root@hadron tomcat]# cat catalina.2017-11-02.log 
02-Nov-2017 13:32:49.398 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.20
02-Nov-2017 13:32:49.400 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Aug 2 2017 21:35:49 UTC
02-Nov-2017 13:32:49.400 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.20.0
02-Nov-2017 13:32:49.400 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
02-Nov-2017 13:32:49.400 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            3.10.0-514.2.2.el7.x86_64
02-Nov-2017 13:32:49.400 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
02-Nov-2017 13:32:49.400 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /opt/jdk1.8.0_112/jre
02-Nov-2017 13:32:49.400 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_112-b15
02-Nov-2017 13:32:49.400 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
02-Nov-2017 13:32:49.400 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /root/.IntelliJIdea2016.3/system/tomcat/Unnamed_storage_4
02-Nov-2017 13:32:49.400 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /opt/apache-tomcat-8.5.20
02-Nov-2017 13:32:49.401 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/root/.IntelliJIdea2016.3/system/tomcat/Unnamed_storage_4/conf/logging.properties
02-Nov-2017 13:32:49.401 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
02-Nov-2017 13:32:49.401 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
02-Nov-2017 13:32:49.401 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
02-Nov-2017 13:32:49.401 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
02-Nov-2017 13:32:49.401 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
02-Nov-2017 13:32:49.401 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
02-Nov-2017 13:32:49.401 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
02-Nov-2017 13:32:49.401 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
02-Nov-2017 13:32:49.401 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/root/.IntelliJIdea2016.3/system/tomcat/Unnamed_storage_4
02-Nov-2017 13:32:49.401 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/opt/apache-tomcat-8.5.20
02-Nov-2017 13:32:49.402 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/opt/apache-tomcat-8.5.20/temp
02-Nov-2017 13:32:49.402 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/root/idea-IU-163.10154.41/bin::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
02-Nov-2017 13:32:49.500 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
02-Nov-2017 13:32:49.511 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
02-Nov-2017 13:32:49.512 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
02-Nov-2017 13:32:49.513 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
02-Nov-2017 13:32:49.513 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 381 ms
02-Nov-2017 13:32:49.531 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
02-Nov-2017 13:32:49.531 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.20
02-Nov-2017 13:32:49.536 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
02-Nov-2017 13:32:49.541 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
02-Nov-2017 13:32:49.543 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 29 ms
02-Nov-2017 13:32:52.747 信息 [RMI TCP Connection(2)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
02-Nov-2017 13:32:52.755 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
02-Nov-2017 13:32:52.783 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [/storage] startup failed due to previous errors
02-Nov-2017 13:32:59.576 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/apache-tomcat-8.5.20/webapps/manager]
02-Nov-2017 13:32:59.647 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/opt/apache-tomcat-8.5.20/webapps/manager] has finished in [70] ms
02-Nov-2017 13:37:20.321 信息 [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
02-Nov-2017 13:37:20.321 信息 [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
02-Nov-2017 13:37:20.373 信息 [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
02-Nov-2017 13:37:20.424 信息 [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
02-Nov-2017 13:37:20.431 信息 [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
02-Nov-2017 13:37:20.433 信息 [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]
02-Nov-2017 13:37:20.434 信息 [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]
02-Nov-2017 13:37:20.435 信息 [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]
02-Nov-2017 13:37:26.505 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.20
02-Nov-2017 13:37:26.507 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Aug 2 2017 21:35:49 UTC
02-Nov-2017 13:37:26.507 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.20.0
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            3.10.0-514.2.2.el7.x86_64
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /opt/jdk1.8.0_112/jre
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_112-b15
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /root/.IntelliJIdea2016.3/system/tomcat/Unnamed_storage_4
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /opt/apache-tomcat-8.5.20
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/root/.IntelliJIdea2016.3/system/tomcat/Unnamed_storage_4/conf/logging.properties
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
02-Nov-2017 13:37:26.508 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
02-Nov-2017 13:37:26.509 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/root/.IntelliJIdea2016.3/system/tomcat/Unnamed_storage_4
02-Nov-2017 13:37:26.509 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/opt/apache-tomcat-8.5.20
02-Nov-2017 13:37:26.509 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/opt/apache-tomcat-8.5.20/temp
02-Nov-2017 13:37:26.509 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/root/idea-IU-163.10154.41/bin::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
02-Nov-2017 13:37:26.597 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
02-Nov-2017 13:37:26.607 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
02-Nov-2017 13:37:26.609 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
02-Nov-2017 13:37:26.609 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
02-Nov-2017 13:37:26.609 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 305 ms
02-Nov-2017 13:37:26.629 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
02-Nov-2017 13:37:26.629 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.20
02-Nov-2017 13:37:26.640 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
02-Nov-2017 13:37:26.657 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
02-Nov-2017 13:37:26.681 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 70 ms
02-Nov-2017 13:37:28.055 信息 [RMI TCP Connection(2)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
02-Nov-2017 13:37:28.063 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
02-Nov-2017 13:37:28.068 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [/storage] startup failed due to previous errors
02-Nov-2017 13:37:36.643 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/apache-tomcat-8.5.20/webapps/manager]
02-Nov-2017 13:37:36.697 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/opt/apache-tomcat-8.5.20/webapps/manager] has finished in [55] ms
[root@hadron tomcat]# 

这个日志没有看出来,再查看localhost.2017-11-02.log

[root@hadron tomcat]# cat localhost.2017-11-02.log 
02-Nov-2017 13:32:52.749 信息 [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
02-Nov-2017 13:32:52.755 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class [cn.com.ecict.servlet.SessionListener]
 javax.naming.NamingException: Cannot create resource instance
    at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:96)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321)
    at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
    at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
    at org.apache.catalina.core.DefaultInstanceManager.lookupFieldResource(DefaultInstanceManager.java:553)
    at org.apache.catalina.core.DefaultInstanceManager.processAnnotations(DefaultInstanceManager.java:453)
    at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:143)
    at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:120)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4667)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
    at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1739)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:482)
    at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:431)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
    at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
    at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
    at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
    at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
    at sun.rmi.transport.Transport$1.run(Transport.java:200)
    at sun.rmi.transport.Transport$1.run(Transport.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

02-Nov-2017 13:32:52.755 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.listenerStart Skipped installing application listeners due to previous error(s)
02-Nov-2017 13:37:28.057 信息 [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
02-Nov-2017 13:37:28.063 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class [cn.com.ecict.servlet.SessionListener]
 javax.naming.NamingException: Cannot create resource instance
    at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:96)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321)
    at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
    at org.apache.naming.NamingContext.lookup(NamingContext.java:173)

很显然,是cn.com.ecict.servlet.SessionListener这个类产生的异常。再根据异常信息javax.naming.NamingException: Cannot create resource instance,可以很快定位问题了。

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

发表于

我来说两句

0 条评论
登录 后参与评论

相关文章

来自专栏CDA数据分析师

跟“老大爷”学习数据分析

缜密的思维,耳观六路,眼看八方,不放过任何细节,这就是我们平常所说的数据敏感度或数据分析直觉,具备这样直觉的人不一定是一个好的侦探,但却不妨碍他成为一个好的数据...

2016
来自专栏小狼的世界

惊闻NBC在奥运后放弃使用Silverlight

奥运初始的时候,媒体对于NBC使用Silverlight技术进行了高调的宣传,没想到奥运会结束刚刚三周的时间,NBC就弃用了Siverlight,重新采用Ado...

1042
来自专栏数据的力量

跟林彪同志学数据挖掘

2094
来自专栏科技向令说

【新媒体】16个经典广告创意文案:拿走直接用!

某航天中心的指挥塔内,年轻人马克聚精会神地注视着面前的显示屏。忽然,显示屏上同时出现了两个移动的目标,而且这两个飞行物正越飞越近,有迎头相撞的危险。马克心急如焚...

994
来自专栏玉树芝兰

优步司机二三事

我这人反应从来慢半拍。优步和滴滴刚开始大战的时候,我没有赶上。去年6月开始用优步,一直用到现在。

743
来自专栏华章科技

【趣闻】18个世界知名企业的经典段子,你看懂了几个

这18个世界知名企业的经典段子,虽已流传江湖已久,但放在今日,还能让你在大笑的同时思考职场。

872
来自专栏大数据文摘

【分享】女人,你的美貌不如你的热闹

1898
来自专栏Hadoop实操

大数据售前的中年危机

F今年三十八岁,有一个小孩,八岁了,老婆比他小5岁,最近又怀了二胎,也挺喜庆的。F是一家大数据公司的售前,算上奖金一年可以拿个五十万吧,勉强算个中产,按说小日子...

4729
来自专栏平凡文摘

程序员辞职常用的 6 个借口!

1242
来自专栏Java技术栈

程序员辞职常用的 6 个借口!

1572

扫码关注云+社区