我正在尝试将 .war 文件导入 tomcat8。
到目前为止,即使启动了Tomcat,我也无法访问我的Web应用程序的页面。我从这个命令()得到这个错误:systemctl status tomcat8.service
Mar 11 11:34:25 osboxes tomcat8[48213]: at org.postgresql.Driver.makeConnection(Driver.java:404)
Mar 11 11:34:25 osboxes tomcat8[48213]: at org.postgresql.Driver.connect(Driver.java:272)
Mar 11 11:34:25 osboxes tomcat8[48213]: at org.apache.tomcat.dbcp.dbcp2.DriverConnectionFactory.createConnection(DriverConnect
Mar 11 11:34:25 osboxes tomcat8[48213]: at org.apache.tomcat.dbcp.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectio
Mar 11 11:34:25 osboxes tomcat8[48213]: at org.apache.tomcat.dbcp.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSou
Mar 11 11:34:25 osboxes tomcat8[48213]: at org.apache.tomcat.dbcp.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicD
Mar 11 11:34:25 osboxes tomcat8[48213]: ... 27 more
Mar 11 11:34:25 osboxes tomcat8[48213]: Starting service [Catalina]
Mar 11 11:34:25 osboxes tomcat8[48213]: Starting Servlet Engine: Apache Tomcat/8.5.34 (Ubuntu)
Mar 11 11:34:25 osboxes tomcat8[48213]: Deploying web application archive [/var/lib/tomcat8/webapps/slb.war]
几秒钟后:
Mar 11 11:25:02 osboxes tomcat8[47998]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
Mar 11 11:25:02 osboxes tomcat8[47998]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
Mar 11 11:25:02 osboxes tomcat8[47998]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
Mar 11 11:25:02 osboxes tomcat8[47998]: at java.lang.Thread.run(Thread.java:748)
Mar 11 11:25:02 osboxes tomcat8[47998]: Deployment of web application archive [/var/lib/tomcat8/webapps/slb.war] has finished in [
沧海一幻觉
相关分类