环境
window-server 2012 ,tomcat8.1,jdk1.8
步骤
- 配置tomcat,jdk的路径

- 使用管理员权限进powershell
- 进入tomcat的bin目录下 执行
.\service.bat install tomcat81

- powershell执行服务添加
Set-Service -Name tomcat81 -StartupTyp
5. 重启测试,收工
微信扫一扫
window-server 2012 ,tomcat8.1,jdk1.8

.\service.bat install tomcat81

Set-Service -Name tomcat81 -StartupTyp
5. 重启测试,收工
相关推荐