我写了非常基本的代码。而servlet可能是问题所在,因为否则,tomcat可以完美启动并到达index.html
我已经使用Eclipse IDE配置了tomcat。尝试从servlet开始时出现this错误。
堆栈跟踪为
foreach($array['data']['items'] as $item){
foreach($item['origin_info']['trackinfo'] as $trackinfo){
echo $trackinfo['checkpoint_status'].PHP_EOL;
}
}
我的xml配置
Jun 28, 2019 1:41:16 PM org.apache.catalina.core.ContainerBase startInternal
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/User_Test_Series-1]]
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)