精华内容
下载资源
问答
  • 1.项目打包成war,放到Tomcat的webapp下面,运行时出现以下错误: org.apache.catalina.LifecycleException: A child container failed during start 含义:所需的服务器组件无法启动,因此Tomcat无法启动。一...

    1.项目打包成war,放到Tomcat的webapp下面,运行时出现以下错误:

    org.apache.catalina.LifecycleException: A child container failed during start
    含义:所需的服务器组件无法启动,因此Tomcat无法启动。一个子容器在启动过程中失败 。

    如图所示:
    在这里插入图片描述
    2. 进入Tomcat出错的日志,进入Tomcat的log文件夹查看出错信息。
    在这里插入图片描述

    3.我Tomcat启动报错的原因是自己定义的myfile文件夹夹不小心被别人误删,导致出现org.apache.catalina.LifecycleException: A child container failed during start错误。

    解决办法就是:将 红色部分圈中的 <.context /> 这一行代码注释,Tomcat就能正常启动。 查找Tomcat的log,这样才能迅速找到问题,从而解决bug。

    在这里插入图片描述

    总结:以上就是我解决Tomcat思路。纯属个人见解,记录一下以防万一。如果您有更好的解决方式,欢迎留言指教。

    展开全文
  • Civil War

    2019-07-10 22:34:19
    《Civil War》是美国硬摇滚乐队枪炮与玫瑰的一首单曲,首次收录于1990年的群星慈善专辑《Nobody's Child: Romanian Angel Appeal》。这是一首反战歌曲,指出一切战争皆为“内战”,战争唯独“喂肥了富人,却埋葬了...
    Civil War
    编辑
    《Civil War》是美国硬摇滚乐队枪炮与玫瑰的一首单曲,首次收录于1990年的群星慈善专辑《Nobody's Child: Romanian Angel Appeal》。这是一首反战歌曲,指出一切战争皆为“内战”,战争唯独“喂肥了富人,却埋葬了穷人(feeds the rich while it buries the poor)”。该曲是枪花的代表作之一。

    1单曲介绍编辑

    SlashAxl Rose和Duff Makagen共同完成。
    在1990,即《Use Your Illusion II》问世的一年前,《Civil War》就已出现在一张慈善专辑《Nobody's Child - Romanian Angel Appeal》之中。该专辑由前Beatles成员George Harrison筹划,试图帮助齐奥塞斯库政权结束后的罗马尼亚孤儿 。
    Axl: 有一次Tom Petty打电话给我,说George Harrison想和我通电话。之后George Harrison就打了过来,我们谈了下,他想让我们给他的慈善专辑写首歌。(Rockline Interview 1-3-94)

    详细背景

    《Civil War》是枪花成员SlashAxl RoseDuff Mckagan的心血之作,Slash描述这首歌的配乐部分是他在乐队前往日本Appetite for Destruction的 世界巡演时完成的,Axl写了歌词,歌曲最终在澳大利亚墨尔本成型。1993年9月27日接受Rockline的采访时,Duff Mckagan解释了这首歌的来历:“它的riff是我们通常用来调音的,Axl想出了开头的一些句子,然后……我想到了一场和平游行,那时我还是个小孩 子,和我妈一起,我大概四岁,这是马丁路德金的 一段话:你是否带上了黑袖章,当他们枪杀了那个男人、那个高喊‘和平将永存’的男人?(Did you wear the black arm band when they shot the man who said: 'Peace could last forever'?)这是来自我的真实生活的。”

    其他信息

    值得注意的是,这首歌的录制期间美国没有卷入任何军事行动,所以普遍认为这是首向1960年代反越战作品致意的歌曲。
    这首歌提及了总统约翰·肯尼迪的暗杀:在我最初的记忆里,他们就这样刺杀了肯尼迪。肯尼迪遭暗杀时Rose仅一岁,Duff和Slash则在此事件后出生。这句歌词同样适用于罗伯特·肯尼迪的暗杀。
    歌曲结尾Axl的独白“What's so civil about war anyway?”是“civil”这个词的双关语。
    《Civil War》在Billboard杂志主流摇滚音乐榜的最高位次是第四位。
    《Civil War》是鼓手Steven AdlerMatt Sorum替下前为枪花伴奏的最后一支歌。
    这首歌的开场独白与其他演讲混音后被再次使用于枪花新专辑《CD》中的歌曲《Madagasca》。
    1990年4月7日枪花在Farm Aid IV演奏了这首歌,由电视现场直播。
    开场话音摘自Strother Martin在电影《Cool Hand Luke 》(铁手卢克)中的演讲 ("What we've got here is... failure to communicate. Some men you just can't reach. So you get what we had here last week, which is the way he wants it... well, he gets it. I don't like it any more than you men.")。
    这首歌也摘录了一段秘鲁武 装将领的演说("We practice selective annihilation of mayors and government officials, for example, to create a vacuum, then we fill that vacuum. As popular war advances, peace is closer")。
    这首歌的开端和尾端均使用了美国内战歌曲《When Johnny Comes Marching Home》的片段,作为致意。
    专辑《Nobody's Child: Romanian Angel Appeal》收录了歌曲《Civil War》,作为一项基金收益均归罗马尼亚孤儿。
    《Civil War》是枪花专辑《Use Your Illusion II》的第一首歌,它同时出现在汇编专辑《Use Your Illusion》和精选专辑《Guns N' Roses' Greatest Hits》中

    2中英对照编辑

    "What we've got here is failure to communicate.(独白)我们在这儿一无所获,失去了联系
    Some men you just can't reach有些人我们是联系不上了
    So, you get what we had here last week 所以你明白了吧?自从上周我们就用完了我们所拥有的。
    which is the way he wants it! 正如他所愿
    Well, he gets it!的确达到了他的目的!
    N' I don't like it any more than you men." 这是我不想看见的结果,再也不想。
    Look at your young men fighting看看男人们的奋力挣斗吧
    Look at your women crying听听女人们的悲伤哭泣吧
    Look at your young men dying看着年轻人都相继死去
    The way they've always done before那就是他们一直以来的生存方式
    Look at the hate we're breeding 看看我们滋生的仇恨吧
    Look at the fear we're feeding看看我们散播的恐惧吧
    Look at the lives we're leading再看看我们所过的生活吧
    The way we've always done before那就是我们一直以来的所作所为
    My hands are tied我的双手已被缚
    The billions shift from side to side数以万计的人们流离失所
    And the wars go on with brainwashed pride战争仍在持续,而我们被洗脑
    For the love of God and our human rights以上帝之爱和人权之名
    And all these things are swept aside横扫一切无所幸免
    By bloody hands time can't deny用那沾满鲜血永不能洗刷的双手
    and are washed away by your genocide它轻轻松松就洗去了大屠杀的罪恶血迹
    And history hides the lies of our civil wars而历史掩盖了战争的谎言
    you wear a black armband你是否带上了黑袖章
    When they shot the man当他们枪杀了那个男人
    Who said "Peace could last forever"那个高喊“和平将永存”的男人
    And in my first memories在我最初的记忆里
    They shot Kennedy他们就这样刺杀了肯尼迪
    I went numb when I learned to see而在我学着看清世事时开始麻木不仁
    So I never fell for Vietnam所以我从未去到越南
    We got the wall of D.C. to remind us all华盛顿的纪念墙时时都在提醒我们
    That you can't trust freedom你绝不能相信自由这种东西
    When it's not in your hands它非你所能掌控
    When everybody's fightin'
    For their promised land当所有人都为他们的应许之地战斗时
    And
    I don't need your civil war我不需要你们的战争
    It feeds the rich while it buries the poor它喂肥了富人,却埋葬了穷人
    Your power hungry sellin' soldiers那些在食品店里被出卖的士兵们
    In a human grocery store不过只是在满足你贪婪的权欲
    Ain't that fresh肉很新鲜吧?
    I don't need your civil war我不需要你们的战争。
    Look at the shoes your filling看看遍地狼藉的战场吧
    Look at the blood we're spilling看看我们抛洒的热血吧
    Look at the world we're killing看看这个杀戮的世界吧
    The way we've always done before那就是我们一直以来的所作所为
    Look in the doubt we've wallowed看看我们内心的挣扎吧
    Look at the leaders we've followed看看我们追随的领袖吧
    Look at the lies we've swallowed看看我们强咽的谎言吧
    And I don't want to hear no more我再也不想听到了
    My hands are tied我的双手已被缚
    For all I've seen has changed my mind因为我所看见的一切已然改变了我的思想
    But still the wars go on as the years go by然而时间流逝,战争仍在继续
    With no love of God or human rights再也没有什么上帝之爱和人权之名
    'Cause all these dreams are swept aside那些施了催眠术,沾满鲜血的双手
    By bloody hands of the hypnotized已将这些美梦一扫而空
    Who carry the cross of homicide是谁为杀戮者戴上圣洁的十字架
    And history bears the scars of our civil wars而历史独自容忍了内战的创伤
    "WE PRACTICE SELECTIVE ANNIHILATION OF MAYORS AND GOVERNMENT OFFICIALS
    FOR EXAMPLE TO CREATE A VACUUM
    (独白)我们来做个试验吧,比如选择性地迁灭那些市长和政府官员
    THEN WE FILL THAT VACUUM然后由我们去填补权力的真空
    AS POPULAR WAR ADVANCES使战争进一步获得民心
    PEACE IS CLOSER" 那和平就会临近了

    转载于:https://www.cnblogs.com/jeanschen/p/3567086.html

    展开全文
  • maven打包成war时,报错:[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project child02: Error assembling WAR: webxml attribute is required (or pre-...

    maven打包成war时,报错: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project child02: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [Help 1]
    错误原因: 找不到web.xml,但是项目中明明有这个文件,在WebContent/WEB-INF/文件夹下,就是识别不了
    解决方法:
    需要在pom.xml文件中,加上maven-war-plugin插件配置
    在<build>节点中增加:

    <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.4</version>
                <configuration>
                    <webResources>
                        <resource>
                            <directory>WebContent</directory>
                        </resource>
                    </webResources>
                </configuration>
            </plugin>
        </plugins>

    如果项目中原本没有web.xml文件,就需要加上下面的配置:

    <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.4</version>
                <configuration>
                    <failOnMissingWebXml>false</failOnMissingWebXml>
                </configuration>
            </plugin>
    </plugins>

     

    转载于:https://www.cnblogs.com/mmzs/p/8761417.html

    展开全文
  • Use the attached sample war give the input Lower : 1000, Upper : 1200 and compare the results in APM and sample war output. Attached sample screenshots for comparision. <h2>Expected behavior <p>All ...
  • here i want spring-context-support jar for my custom cache config,including the spring-context-support depentency to my child pom but not adding to the war or target. <p>can anybody has solution for ...
  • gerrit-3.0.3.war

    2019-10-11 09:55:50
    Issue 11374: Fix handling of plugin capabilities on modification of child collections. Fix init to not overwrite httpd.listenUrl until the input has been validated. Issue 11246: Allow duplicate ...
  • <div><p>When using jsfContainer in an EAR application, it is not...for EAR applications we apply them to each individual child module.</p><p>该提问来源于开源项目:OpenLiberty/open-liberty</p></div>
  • 今天刚刚开始学习使用idea时,在网上差了资料...[2019-01-13 01:30:39,745] Artifact testidea:war exploded: Artifact is being deployed, please wait... 13-Jan-2019 13:30:40.147 涓ラ噸 [RMI TCP Connection(3...

    今天刚刚开始学习使用idea时,在网上查了资料后,写了一个简单的Servlet做测试,结果出现:

    [2019-01-13 01:30:39,745] Artifact testidea:war exploded: Artifact is being deployed, please wait...
    13-Jan-2019 13:30:40.147 涓ラ噸 [RMI TCP Connection(3)-127.0.0.1] org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method manageApp
     java.lang.IllegalStateException: Error starting child
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:716)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
    	at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1729)
    	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:287)
    	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:457)
    	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:406)
    	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:287)
    	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)
    

    检查了web.xml文件和tomcat配置以及jar包发现一切正常,百度发现没有过这种错误。。。可能因为自己太菜了犯这种比较低级的错误。经过一番周折才发现原因是web.xml中配置了servlet

    	<servlet>
            <servlet-name>TestServlet</servlet-name>
            <servlet-class>com.caohuimin.servlet.TestServlet</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>TestServlet</servlet-name>
            <url-pattern>/test</url-pattern>
        </servlet-mapping>
    

    同时Servlet测试代码前加了注解@WebServlet("/test"),当这两者同时存在时就会报这种错误,删除一种即可。
    如果还没有解决的话,可以看一下有没有引入多个版本的同一类jar包,如:
    在这里插入图片描述
    删除一种即可。
    如果还没有解决的话,建议查看一下与之前正常运行时候的版本有哪些地方做了修改,检查配置文件是否有问题、jar包导入是否有问题。

    展开全文
  • <div><p>Running as deployed WAR both standard and web-socket endpoints are triggered. I get this exception: <pre><code> Exception sending context initialized event to listener instance of class ...
  • <div><h2>Description of the problem <p>I try to use this code "os.system('echo hello')" in python script, and add sgx.trusted_children.sh in python3.6.manifest....However, when I run '...
  • myeclipse2016创建maven多模块项目,每次无法找到war子模块,但是本地仓库确实存在这war install对象 [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs:...
  • 问题:在配置完web.xml之后...[2020-01-14 11:34:55,933] Artifact Servlet:war exploded: Error during artifact deployment. See server log for details. at java.base/jdk.internal.reflect.NativeMethodAc...
  • <div><p><a href="http://foo:4848/management/domain/applications/application/webapp1/module/webapp1webmod1.war/engine">...<p>Deploy the attached application and access the above url. Nothing is displayed....
  • java.lang.IllegalStateException: Error starting child at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720) at org.apache.catalina.core.ContainerBase.addChild...
  • Use the attached sample war give the input Lower : 1000, Upper : 1200 and compare the results in APM and sample war output. Attached sample screenshots for comparision. Observe that the child span ...
  • 记录下走过的坑,发生错误的起因:把war包部署到tomcat中,启动到一半便停止了,后来把war包删除还是报同样的错误,在网上找了许久都没解决问题。最后突然想起自己上个项目为了把war把放在tomcat中不输入项目名更改...
  • 在将其中一个web项目打包成war时,在tomcat中启动时提示找不到config.properties ![图片说明](https://img-ask.csdn.net/upload/202001/20/1579522003_255875.png) 下面是uitl模块的pom文件 ``` xsi:...
  • 问题描述:  Tomcat启动,提示异常,服务自动释放! INFO: Starting Servlet Engine: Apache Tomcat/7.0.81 Sep 30, 2018 7:11:56 PM org.apache.catalina.core....SEVERE: A child container failed du...
  • 在开发工具里运行的...如果tomcat没有其他项目,就把tomcat的server.xml,这样注释,在把webapps下的项目或者war包删除。不部署任何项目启动tomcat,看是否能启动成功 2.如果上一部tomcat能启动成功,不是tomcat问题
  • react.js:3640 Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of UserList. See https://fb.me/react-war...
  • 29-Mar-2021 18:17:57.088 信息 [main] org.apache.catalina.startup.HostConfig.deployWAR 正在部署web应用程序存档文件[E:\tomcat9\apache-tomcat-9.0.38\webapps\treehole.war] 29-Mar-2021 18:18:01.872 信息 ...
  • springboot项目在本地运行部署没问题,将项目到jar包和war包上传到云服务器,部署时出现一下错误: 一、报错信息如下: java.util.zip.ZipException: zip file is empty at java.base/java.util.zip.ZipFile$Source...
  • java.lang.IllegalStateException: Error starting child at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:716) at org.apache.catalina.core.ContainerBase.addChild...
  • <p>war-child/pom.xml has the jar-child as a dependency and classes from the jar-child are included using <p>Everything works fine in 0.999.15. <p>Trying to switch to 1.1.3, code coverage merge ...
  • maven创建ssm

    2018-01-27 21:47:31
    4.0.0 ...  SSMDemo  0.0.1-SNAPSHOT ... war     服务器启动失败产生 A child container failed during start  java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Fai
  • In other words this instance is unique within the container it war registered with. Child or parent containers could have their own instances registered for the same contract. <p>...

空空如也

空空如也

1 2 3 4 5 ... 7
收藏数 129
精华内容 51
关键字:

childwar