org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]
2023-09-14 09:11:44 时间
运行servlet程序报错:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/WebTest]]
Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> in servlet mapping
原因:
web.xml里面的url-pattern配置不正确,可能是少了个斜杠 /
解决方案:
<url-pattern>redirect<url-pattern>
改为<url-pattern>/redirect<url-pattern>
相关文章
- [PHP] ubuntu16.04下 Phpstorm发布项目到apache
- LAMP之安装Apache
- Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.security.HadoopKerberosName.setRuleMechanism(Ljava/lang/String;)V
- ERROR tool.ImportTool: Import failed: java.io.IOException: java.lang.ClassNotFoundException: org.apache.hadoop.hive.conf.HiveConf
- 【异常(待解决)】org.apache.http.NoHttpResponseException: api.weixin.qq.com:443 failed to respond
- Centos下apache启动时httpd: apr_sockaddr_info_get() failed for 报错
- Apache Tika-内容解析提取工具集合(a content analysis toolkit)
- Apache Spark源码走读(三)Spark on Yarn &Spark源码编译 &在YARN上运行SparkPi
- Apache HttpClient库的日志级别设置原理
- tomcat 启动报错org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalin
- Installation failed with message INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.datab.cn signatures
- 成功解决Fit Failed Warning: Estimator fit failed. The score on this train-test partition for these param
- 再遇org.apache.catalina.connector.ClientAbortException: java.net.SocketException: 断开的管道 (Write failed)
- Mac 下python3 [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed 解决方法
- android 解决报错 installation failed with message Failed to finalize session : INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed parse during installPackageLI: Failed to read manifest from /xx/xx/xx.apk
- 【大数据 OLAP】Apache Kudu 极简教程
- Maven deploy 报错: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:deploy (default-deploy) on project Failed to retrieve remote metadata /maven-metadata.xml
- maven clean install命令报错 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin