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.