当前位置:网站首页>Idea creates a servlet and accesses the 404 message
Idea creates a servlet and accesses the 404 message
2022-06-24 04:37:00 【Granger_ g】
Problem description : According to the information on the Internet idea and tomcat It's all configured , After starting the server, you can also connect to the specified address , But the link is not written by myself Servlet
Has been submitted to the 404 problem
Final solution :
First step :

The second step :

The third step : This step is where the problem is solved , It's in the picture below 3 The location of That name should be the same as the project name

My project name map :

Then restart the service , Input servlet Corresponding address , Successful visit ! Oh yeah , This problem has troubled me for nearly 1 God

After testing Use web.xml and The annotation method works well , Here are screenshots of two methods


Finally, I hope I can help you solve the problem .
边栏推荐
- How to create an FTP server on the ECS? Is it safe to create an FTP server on the ECS?
- Abnova膜蛋白脂蛋白体解决方案
- mysql中表的命名
- IDC, Youshang cloud data on cloud (COS) best practices
- ARM 架构、ARM7、ARM9、STM32、Cortex M3 M4 、51、AVR 有啥区别
- Doctor application | Hong Kong University of science and Technology (Guangzhou) Mr. Liu Hao recruits the full award doctor / Master in data mining
- Introduction to C language custom types (structure, enumeration, union, bit segment)
- Worthington胰蛋白酶的物化性质及特异性
- After purchasing Tencent ECs, how to solve packet loss in Internet access?
- Idea创建Servlet 后访问报404问题
猜你喜欢

Apipost interface assertion details

15+ urban road element segmentation application, this segmentation model is enough

大一下学期期末总结(补充知识漏洞)

TCPIP协议详解

应用实践 | Apache Doris 整合 Iceberg + Flink CDC 构建实时湖仓一体的联邦查询分析架构

mysql - sql执行过程

梯度下降法介绍-黑马程序员机器学习讲义

Opengauss version 3.0 source code compilation and installation guide

Openeuler kernel technology sharing issue 20 - execution entity creation and switching

英特尔 XTU 官方超频工具已支持 Win11 22H2 和 13 代酷睿 Raptor Lake 处理器
随机推荐
编译器是如何将芯片执行的第一个指令放到芯片起始地址的?
Specificity and correlation of Worthington deoxyribonuclease I
Live broadcast Reservation: Micro build practice - quickly build a catering reservation applet
Doctor application | Hong Kong University of science and Technology (Guangzhou) Mr. Liu Hao recruits the full award doctor / Master in data mining
大一下学期期末总结(补充知识漏洞)
脚本之美│VBS 入门交互实战
How can the new generation of HTAP databases be reshaped in the cloud? Tidb V6 online conference will be announced soon!
ribbon
Application and related research of Worthington elastase
数据库解答建标,按要求回答
Training course of mixed accuracy from simple to deep
mini-Web框架:装饰器方式的添加路由 | 黑马程序员
Web penetration test - 5. Brute force cracking vulnerability - (6) VNC password cracking
2022年二级造价工程师备考攻略,你准备好了吗?
How to open the port of ECS what are the precautions for using ECS
What technology is VPS? How does the server VPS?
Clang code coverage detection (pile insertion technology)
Openeuler kernel technology sharing issue 20 - execution entity creation and switching
getAttribute 返回值为null
What if the ECS forgets its password? How can I retrieve my forgotten password?