将 tomcat webapp 从服务器移动到本地主机 [英] move tomcat webapp from server to localhost

查看:61
本文介绍了将 tomcat webapp 从服务器移动到本地主机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在组织中,我们有一个当前在服务器上运行的网络应用程序.我想将此应用程序移动到我可以安全地自定义和编辑文件的本地计算机.我将 app 目录复制到我的本地机器上,让我们将其命名为mproject",并将其添加到 tomcat 的 webapps 文件夹中.但是,该应用程序不起作用.Tomcat 给了我这个错误 FAIL - Application at context path [/mproject] 无法启动 我应该修改哪些参数才能在我的本地 tomcat 上运行这个应用程序?

We, in the organization, have a web app currently running on a server. I want to move this app to my local machine where I can customize and edit files safely. I copied the app directory, let us name it 'mproject', to my local machine and added it to the webapps folder of tomcat. However, the app did not work. Tomcat gives me this error FAIL - Application at context path [/mproject] could not be started What parameters shall I modify in order to run this app on my local tomcat?

提前致谢,

推荐答案

检查文件夹 logs 中的日志文件.Tomcat 可能已经在那里留下了很多细节,为什么它无法启动应用程序.

Check the log files in the folder logs. Tomcat has probably left a lot of details there why it couldn't start the app.

注意:应用程序中的许多文件都是从源项目编译的.尝试获取该副本并使用工具从源代码构建应用程序,而不是尝试修改编译结果.

Note: Many of the files in the app will have been compiled from a source project. Try to get a copy of that and use tools to build the app from the sources instead of trying to modify the compiled result.

注意 2:您(或您的公司)并未开发 Web 应用程序,您并不总是被允许随意修改文件.请先检查产品的许可证,并获得您的经理的批准.

Note 2: You (or your company) didn't develop the web app, you're not always allowed to modify files as you like. Please check the license of the product, first, and get approval from your manager.

这篇关于将 tomcat webapp 从服务器移动到本地主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆