无法在Intellij中运行Tomcat

无法在Intellij中运行Tomcat,tomcat,intellij-idea,Tomcat,Intellij Idea,我在本地Tomcat中添加了调试/运行配置。 我用过这个 Tomcat 7。 我使用Intellij。我尝试运行我的项目,并获得以下日志: [2017-08-24 03:14:10,646] Artifact Spring trening:war exploded: Server is not connected. Deploy is not available. Aug 24, 2017 3:14:11 PM org.apache.catalina.startup.VersionLoggerL

我在本地Tomcat中添加了调试/运行配置。 我用过这个 Tomcat 7。 我使用Intellij。我尝试运行我的项目,并获得以下日志:

[2017-08-24 03:14:10,646] Artifact Spring trening:war exploded: Server is not connected. Deploy is not available.
Aug 24, 2017 3:14:11 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version:        Apache Tomcat/7.0.81

....

Aug 24, 2017 3:14:11 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 178 ms
Connected to server
[2017-08-24 03:14:11,831] Artifact Spring trening:war exploded: Artifact is being deployed, please wait...
Aug 24, 2017 3:14:12 PM org.apache.catalina.deploy.WebXml setVersion
WARNING: Unknown version string [3.1]. Default version will be used.
Aug 24, 2017 3:14:12 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Aug 24, 2017 3:14:12 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [] startup failed due to previous errors
[2017-08-24 03:14:12,212] Artifact Spring trening:war exploded: Error during artifact deployment. See server log for details.
Aug 24, 2017 3:14:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/pc/apache-tomcat-7.0.81/webapps/manager
Aug 24, 2017 3:14:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /home/pc/apache-tomcat-7.0.81/webapps/manager has finished in 89 ms
我怎么能修好它

我用Tomcat下载zip。在这个想法中,我指向了雄猫。在控制台中出现此错误时,我运行:

sudo apt-get upgrade libtcnative-1
在这个命令之后,我得到了

    ....
    insserv:  loop involving service dns-clean at depth 1
    insserv: Starting nifi depends on plymouth and therefore on system facility `$all' which can not be true!
    insserv: exiting now without changing boot order!
    update-rc.d: error: insserv rejected the script header
    dpkg: error processing package util-linux (--configure):
    subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
     util-linux
    E: Sub-process /usr/bin/dpkg returned an error code (1)

“完整的详细信息将在相应的容器日志文件中找到”我的假设正确吗,您没有查看日志吗?;)请查找包含实际错误的服务器日志,并将其发布到此处。在日志中,我发现下一个错误:2017年8月25日10:39:21.823严重[main]org.apache.catalina.core.AprLifecycleListener.init安装了基于APR的apache Tomcat本机库的不兼容版本[1.1.33],而Tomcat需要版本[1.2.6]检查该端口中是否没有运行任何内容在哪个端口上?“完整详细信息将在相应的容器日志文件中找到”我的假设正确吗,您没有查看日志吗?;)请查找包含实际错误的服务器日志,并将其发布到此处。在日志中,我发现下一个错误:2017年8月25日10:39:21.823严重[main]org.apache.catalina.core.AprLifecycleListener.init安装了基于APR的apache Tomcat本机库的不兼容版本[1.1.33],而Tomcat需要版本[1.2.6]检查该端口中是否没有任何内容在哪个端口上运行?