Exception occurred:
Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/uploadFile]]
Through Baidu what positioning, is Tomcat server.xml Configuration issues This is the last server.xml The last few lines in. When he sees the UploadFile, he will store it in the folder/home/admin/UploadFile <!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
<Context path="/uploadFile" docBase="/home/admin/uploadFile" debug="0" reloadable="true" />
</Host>
</Engine>
</Service>
</Server>
go to the/home/admin/directory to check whether the UploadFile folder exists, and then it is sure that it does not exist. Then create, create an UploadFile folder, and then start it.
Similar Posts:
- RSA modulus too small: 512 < minimum 768 bits
- An error is reported when starting sshd in the docker container
- MYSQL Startup Error: [ERROR] Aria engine is not enabled or did not start. The Aria engine must be enabled to
- Unable to start mongod after installing mongodb in Ubuntu
- [Solved] No connection string named ‘TestEntities’ could be found in the application config file
- How to Solve Error: ssh_exchange_identification:read connection reset by peer
- [Solved] rabbitmq Error: Failed to start RabbitMQ broker
- [Solved] Linux Start database Error: could not open parameter file init**.ora
- [Solved] Permission denied (public key) appears during GitHub access