晕~IDEA又TM报错~实在是无力了~~~

Java > Java EE [问题点数:40分]
本版专家分:5
结帖率 57.14%
本版专家分:20452
Blank
黄花 2013年8月 Java大版内专家分月排行榜第二
Blank
蓝花 2014年5月 Java大版内专家分月排行榜第三
本版专家分:27032
Blank
铜牌 2019年9月 总版技术专家分月排行榜第三
Blank
红花 2019年9月 Java大版内专家分月排行榜第一
2013年7月 Java大版内专家分月排行榜第一
Blank
蓝花 2019年10月 Java大版内专家分月排行榜第三
本版专家分:0
陈山0

等级:

在IntelliJ IDEA中启动tomcat是遇到了问题,请大神帮忙解决

一下是我启动时控制台报的错误: 信息: Server startup in 115 ms Connected to server [2017-03-19 12:28:48,122] Artifact RobotMonitoringSystem:war exploded: Artifact is being deployed, please wait... 三月 19, 2017 12:28:50 上午 org.apache.catalina.startup.TldConfig execute 信息: 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. 三月 19, 2017 12:28:51 上午 org.apache.catalina.core.StandardContext startInternal 严重: One or more listeners failed to start. Full details will be found in the appropriate container log file 三月 19, 2017 12:28:51 上午 org.apache.catalina.core.StandardContext startInternal 严重: Context [/RobotMonitoringSystem] startup failed due to previous errors contex 1111 [2017-03-19 12:28:51,148] Artifact RobotMonitoringSystem:war exploded: Error during artifact deployment. See server log for details. Exception in thread "CometConnectorCleaner Thread" java.lang.NullPointerException at org.comet4j.core.CometConnector$CacheCleaner.checkExpires(CometConnector.java:120) at org.comet4j.core.CometConnector$CacheCleaner.run(CometConnector.java:113) at java.lang.Thread.run(Thread.java:745) 三月 19, 2017 12:28:57 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\Tomcat\apache-tomcat-7.0.70\webapps\manager 三月 19, 2017 12:28:58 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory D:\Tomcat\apache-tomcat-7.0.70\webapps\manager has finished in 472 ms tomcat localhost log中的信息: 三月 19, 2017 12:28:51 上午 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext 三月 19, 2017 12:28:51 上午 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V

intellij idea项目已成功部署到服务器,但是没有看到程序执行输出

public class UserDaoImple { public boolean addUser(User user){ System.out.print("没有输出"); try { Class.forName("com.mysql.jdbc.Driver"); String sql="insert into user values(?,?,?,?,?,?)"; String url="jdbc:mysql://localhost:3306/clothing_samplehh?useSSL=true"; Connection connection = DriverManager.getConnection(url,"root","root"); PreparedStatement ps=connection.prepareStatement(sql); ps.setString(1,user.getUserId()); ps.setString(2,user.getUserName()); ps.setString(3,user.getUserTel()); ps.setString(4,user.getUserEmail()); ps.setString(5,user.getUserPassword()); ps.setString(6,user.getUserRegisterDate()); connection.close(); ps.close(); } catch (ClassNotFoundException | SQLException e) { e.printStackTrace(); } System.out.print("还是没有输出"); return true; } } 后台输出内容: "C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24\bin\catalina.bat" run [2018-09-15 12:35:51,994] Artifact Q7:war exploded: Waiting for server connection to start artifact deployment... Using CATALINA_BASE: "C:\Users\Administrator\.IntelliJIdea2017.3\system\tomcat\未命名_Q7" Using CATALINA_HOME: "C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24" Using CATALINA_TMPDIR: "C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24\temp" Using JRE_HOME: "C:\Program Files\jdk\jdk1.8\jdk1.8.0_151" Using CLASSPATH: "C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24\bin\bootstrap.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24\bin\tomcat-juli.jar" 15-Sep-2018 12:35:53.136 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.24 15-Sep-2018 12:35:53.138 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Nov 27 2017 13:05:30 UTC 15-Sep-2018 12:35:53.138 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.24.0 15-Sep-2018 12:35:53.138 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 7 15-Sep-2018 12:35:53.138 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.1 15-Sep-2018 12:35:53.139 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 15-Sep-2018 12:35:53.139 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\jdk\jdk1.8\jdk1.8.0_151\jre 15-Sep-2018 12:35:53.139 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_151-b12 15-Sep-2018 12:35:53.139 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation 15-Sep-2018 12:35:53.139 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\Administrator\.IntelliJIdea2017.3\system\tomcat\未命名_Q7 15-Sep-2018 12:35:53.139 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\Administrator\.IntelliJIdea2017.3\system\tomcat\未命名_Q7\conf\logging.properties 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote= 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 15-Sep-2018 12:35:53.141 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\Administrator\.IntelliJIdea2017.3\system\tomcat\未命名_Q7 15-Sep-2018 12:35:53.141 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24 15-Sep-2018 12:35:53.141 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24\temp 15-Sep-2018 12:35:53.141 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.16] using APR version [1.6.3]. 15-Sep-2018 12:35:53.141 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 15-Sep-2018 12:35:53.142 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 15-Sep-2018 12:35:54.156 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2m 2 Nov 2017] 15-Sep-2018 12:35:54.317 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"] 15-Sep-2018 12:35:54.339 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 15-Sep-2018 12:35:54.348 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"] 15-Sep-2018 12:35:54.348 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 15-Sep-2018 12:35:54.348 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1674 ms 15-Sep-2018 12:35:54.395 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 15-Sep-2018 12:35:54.395 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.24 15-Sep-2018 12:35:54.469 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"] 15-Sep-2018 12:35:54.479 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"] 15-Sep-2018 12:35:54.482 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 127 ms Connected to server [2018-09-15 12:35:54,678] Artifact Q7:war exploded: Artifact is being deployed, please wait... 15-Sep-2018 12:35:55.306 信息 [RMI TCP Connection(3)-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. [2018-09-15 12:35:55,361] Artifact Q7:war exploded: Artifact is deployed successfully [2018-09-15 12:35:55,362] Artifact Q7:war exploded: Deploy took 683 milliseconds 15-Sep-2018 12:36:04.470 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24\webapps\manager] 15-Sep-2018 12:36:04.544 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24\webapps\manager] has finished in [74] ms

白痴做Web应用之01:第一个坑,没有创建Artifact

一、创建一个工程 话说连Idea都没用过,只有从Google开始。幸好找到一个页面 http://wiki.jetbrains.net/intellij/Main_Page 。虽说里面列Application servers的没有Jetty,只有GlassFish、JBoss和Tomcat,但是也不能太白痴了,用Creating a simple Web application an

JDK中的timer正确的打开与关闭

Timer和TimerTask Timer是jdk中提供的一个定时器工具,使用的时候会在主线程之外起一个单独的线程执行指定的计划任务,可以指定执行一次或者反复执行多次。 TimerTask是一个实现了Runnable接口的抽象类,代表一个可以被Timer执行的任务。 Timer的调度 import java.util.Timer; import java.util.TimerTask; public class TestTimer { public static void main(St

日常报错日志3:Idea Tomcat:[2019-03-15 02:08:17,747] Artifact ssm_pro: Artifact is being deployed, please

** 第一次用Idea跑东西,Tomcat 鄙人是小白,大道理懂得不多,以下方式希望可以帮助到大家,不足之处还望轻喷 直接干货 ** 报错如下: [2019-03-15 02:08:17,747] Artifact ssm_pro: Artifact is being deployed, please wait… [2019-03-15 02:08:18,164] Artifact ssm_pro...

Idea 中Tomcat启动报错war exploded: Artifact is being deployed, please wait...

1.遇到一个报错,tomcat项目前面都运行好好的,突然就出现无法启动的报错。 Errors: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] Caused by: java.lang.NoClassDefFoundError Caused by: java...

idea运行tomcat启动报错xxx war exploded: Artifact is being deployed,

在网上找了半天也没找到问题解决方法,之后进到project structure 这个页面发现problem那有显示错误,我这是解决完了的截图,如果你的problem后面有数字点进去,右侧页面出现问题在最后有一个[Fix]按钮,你点击一下把你丢失的文件add,之后在运行就好了

intellij idea tomcat 部署项目报错,求大神指导

导入一个项目后,用感gradle idea 命令导入了jar包 ,tomcat运行时候报错,这是什么原因啊。 /home/sensetime/tomcat/apache-tomcat-8.0.30/b

出现Artifact agriculture:war exploded: Artifact is being deployed, please wait...

有可能是xml文件有问题。 不一定有用,但是这个地方确实应该值得注意,我发现错误以后注释掉错误的部分项目就能运行起来了,证明确实是xml文件出了问题。 ...

springmvc项目,pom修改配置文件报错

在maven的setting文件中配置了profile: dev net.sourceforge.jtds.j

Artifact XXXX:war exploded: Artifact is being deployed, please wait...问题原因

Connected to server [2020-04-20 09:00:06,811] Artifact AtmByServlet:war exploded: Artifact is being deployed, please wait... 20-Apr-2020 09:00:07.019 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.to...

启动项目时部署报错 Artifact xxx:war exploded: Error during artifact deployment.

Artifact xxx:war exploded: Error during artifact deployment. 翻译过来就是部署的时候报错了 1.先把原来的Artifact删掉 2.重新添加 3.tomcat里面的也干掉 4.重新添加 5.重启tomcat ...

Intellij Idea 创建web项目tomcat启动报404错误

  今天用IntelliJ Idea创建一个简单的web项目, 并且explored到tomcat中,用tomcat启动,貌似成功启动,当访问主页的时候报404错误,很是奇怪。  回过头仔细检查了下启动日志, 发现一直没有成功部署的日志:[2018-03-03 10:35:34,211] Artifact firstweb:war exploded: Artifact is deployed su...

05-Mar-2020 21:58:13.090 严重 [RMI TCP Connection(3)-127.0.0.1] org.springframework.web.servlet.Framew

一.问题描述: 今天建ssm项目遇到一个问题 05-Mar-2020 21:58:13.090 严重 [RMI TCP Connection(3)-127.0.0.1] org.springframework.web.servlet.FrameworkServlet.initServletBean Context initialization failed org.springframew...

Intellij IDEA 部署Web项目,解决 404 错误

本人使用的版本是 Intellij IDEA 2017.1.2 最近刚学习使用 Intellij IDEA 开发项目,就遇到了坑爹的问题,部署一个简单的 ssh 项目,tomcat启动正常,没有任何报错,就是打不开项目,一直报404,错误如下图:控制台输出:D:\apache-tomcat-7.0.57\bin\catalina.bat run [2017-05-19 12:18:47,831]

Tomcat无法启动卡在Artifact is being deployed, please wait...

今天新建了一个项目开始部署好Tomcat之后成功运行,但是在我写完一个功能重新启动时候,发现Tomca启动t却一直卡在Artifact is being deployed, please wait…这里无法成功启动,上网搜索了很多解决办法,有说没有部署Artifact,其实我都部署好了.后来看到有个人说是依赖的问题,于是我打开maven,点击重新导入依赖,再次启动,居然成功了,我去. 如果有和我一...

idea启动服务器报错Artifact oa:war exploded: Error during artifact deployment. See server log for details.

idea启动服务器报错Artifact oa:war exploded: Error during artifact deployment. See server log for details. ***我是一个新程序员,之前学Java的时候用的是eclipse,后来工作了用的是idea,由于上手时间短,用的也不是很熟,很多设置功能也比较含糊。 ***接下来就直接说问题了,由于之前的项目做完了,...

php实现的文法分析下载

php实现的文法分析 代例子可供学习《编译原理》时做实验 相关下载链接:[url=//download.csdn.net/download/xuzuning/4529066?utm_source=bbsseo]//download.csdn.net/download/xuzuning/4529066?utm_source=bbsseo[/url]

C++程序设计课程 课件下载

适合C++初学者,通俗易懂 课件易懂但也比较详细 相关下载链接:[url=//download.csdn.net/download/ywzqcj/2199253?utm_source=bbsseo]//download.csdn.net/download/ywzqcj/2199253?utm_source=bbsseo[/url]

win7摄像头软件下载

win7摄像头软件 相关下载链接:[url=//download.csdn.net/download/u011021787/5557221?utm_source=bbsseo]//download.csdn.net/download/u011021787/5557221?utm_source=bbsseo[/url]

相关热词 c#树形选择 c#中类图的使用方法 c# 传参 调用exe c# 怎么定义方法 c# 修改本地时间 c#前台怎么读取资源文件 c# xml转list c#实现框选截图 m*m乘法表c# c# 乘法99表
我们是很有底线的