当前位置:网站首页>Publish the project online and don't want to open a port
Publish the project online and don't want to open a port
2022-07-25 02:53:00 【Novice Xiaobai Xiaoyi】
After deploying the website, add the project written by yourself without adding ports
When you can't post a project on the pagoda panel , Now, if you don't want to open another interface, you can adopt the following strategy .
Landing pagoda panel
Select the software store in the left selection bar , Because you should not find it in the file tomcat Installation path for

After the above steps, we enter tomcat Under the installation directory of, click to enter webapps Under the table of contents

Get into webapps You can package your own project jar Unpack the package to this directory , Generally, there is no special modification tomcat The default port is 8080 Browser input xxx.xxx:8080/ Project name test
After the above operation, it is much worse , At this time, the access will be 404, Because of my project WEB-INF Below web.xml It's your local, so the access failed

resolvent Original tomcat In other packages under the directory WEB-INF copied , Or put your own project under WEB-INF Under the web.xml It is amended as follows tomcat and tomcat Under other package directories web-xml equally .
边栏推荐
- Unity refers to a variable in another class (its own instance)
- On the economic model of open source ecology
- Edit mathematical formulas in markdown
- Get to know string thoroughly
- JS foundation -- data
- hello csdn
- Please ask a question: how to set the new table of MySQL CDC 2.2.x to only receive increment
- R language one page and many pictures
- [C language] program compilation (preprocessing)
- Nuscenes data set summary
猜你喜欢

Study notes of filebeat

Wechat sports field reservation of the finished works of the applet graduation project (7) mid-term inspection report

Rolling division, Young's matrix and three-step flip

Details of C language compilation preprocessing and comparison of macros and functions

Arduino + si5351 square wave generator

DOM operation -- get elements and nodes

Tp5.1 initialize initialization method (not \u initialize)

JS foundation -- hijacking of this keyword

Permanently mount the image steps

My creation anniversary (3rd Anniversary)
随机推荐
Can PostgreSQL CDC only connect to the main database? Connection from the library reports an error logical decoden
TS uses a third-party library, and there is no type declaration file error handling
# CF #808 Div.2(A - C)
Daily three questions 7.15
DOM node type
Learning record Xi
Routing policy interferes with routing
Mgre.hdlc.ppp.chap.nat comprehensive experiment
Flutter apple native Pinyin keyboard input exception on textfield | Pinyin input process callback problem
Please ask a question: how to set the new table of MySQL CDC 2.2.x to only receive increment
# CF #807 Div.2(A - D)
UDP message structure and precautions
BGP introduction
Project management tool Zen
B2B e-commerce trading platform of heavy metal industry: breaking the state of data isolation and improving the benefits of heavy metal industry
[pyGame practice] nostalgic classic - do you remember the name of this chess game for children? (must collect)
Generator set work arrangement problem code
IO (1) -io layering
JS foundation -- JSON
Conceptual distinction between Po, Bo, VO, dto and POJO

