-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
不会部署tomcat诶 #2
Comments
不会部署到 Tomcat 吗?能具体说一下卡在哪里了吗?最好能截图说明一下 |
我把代码按照步骤下载下来,配置数据库。
然后直接把放入webapps文件夹底下,roothub是我放入的东西。
然后进入bin目录,运行startup.sh。浏览器输入http://localhost:8080是没有问题的,如下
但是当我输入自己的访问路径时http://localhost:8080/roothub/
所以我这个一定是webapps目录底下没有配置好。
我感觉好像不可以直接放入tomcat的webapps目录底下,还需要导出什么的操作。
而且还看到网上有的人说得需要一个html放在那个目录底下,我看这边代码也没有,就不知道怎么部署这个。
很感谢你的回信,没部署过这个,我是一个初学者,很感谢你的帮助。
------------------ 原始邮件 ------------------
发件人: "龙德"<notifications@github.com>;
发送时间: 2019年5月27日(星期一) 上午9:34
收件人: "miansen/Roothub"<Roothub@noreply.github.com>;
抄送: "嗷呜~"<214058830@qq.com>;"Author"<author@noreply.github.com>;
主题: Re: [miansen/Roothub] 不会部署tomcat诶 (#2)
半天部署不好这个东西,能不能教教我啊,作者大人。
不会部署到 Tomcat 吗?能具体说一下卡在哪里了吗?最好能截图说明一下
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
要先打成 war 包才能部署,并且还要修改 server.xml 文件。
|
唉。我感觉这边还是半天弄不好。我再网上查查,再尝试弄一下。
…------------------ 原始邮件 ------------------
发件人: "龙德"<notifications@github.com>;
发送时间: 2019年5月27日(星期一) 上午10:15
收件人: "miansen/Roothub"<Roothub@noreply.github.com>;
抄送: "嗷呜~"<214058830@qq.com>;"Author"<author@noreply.github.com>;
主题: Re: [miansen/Roothub] 不会部署tomcat诶 (#2)
要先打成 war 包才能部署,并且还要修改 server.xml 文件。
克隆项目到本地:https://github.com/miansen/Roothub.git
使用你熟悉的开发工具打开,如 IDEA 或者 Eclipse
创建 MySQL 数据库 roothub,字符集 utf8,如果想支持 emoji,就要选择 utf8mb4 字符集。
将项目下的 src/main/sql/roothub.sql 文件导入到 roothub 数据库。
修改 JDBC 配置文件 src/main/resources/jdbc.properties,帐号密码换成你自己的
开启了 Redis,修改 Redis 的配置文件 src/main/resources/redis.properties
用 Eclipse 或者 IDEA 将项目打成 war 包
将 war 包部署到 webapps 目录
修改 conf 目录下的 server.xml 文件,将你的 war 包添加上去
运行startup.sh
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
恩,这个东西自己折腾一遍就会了。 |
作者大人,我这个真的搞不定,然后我这边还要每天上班,现在就是个实习生,也没有多少时间琢磨这个tomcat,我这边就是为了上交学校的作业。
我配置了server.xml后,服务器就拒绝请求了。
都绝望了。你有没有QQ微信之类的联系方式,方便的话我加你一下,约10分钟的时间帮帮我嘛。
我通讯软件上好给你描述我遇到的什么问题。
…------------------ 原始邮件 ------------------
发件人: "龙德"<notifications@github.com>;
发送时间: 2019年5月27日(星期一) 中午12:05
收件人: "miansen/Roothub"<Roothub@noreply.github.com>;
抄送: "嗷呜~"<214058830@qq.com>;"Author"<author@noreply.github.com>;
主题: Re: [miansen/Roothub] 不会部署tomcat诶 (#2)
恩,这个东西自己折腾一遍就会了。
网上查一下 Tomcat 怎么部署项目,怎么打 war 包,怎么修改 server.xml 配置文件
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
加我QQ吧,1158827539 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
半天部署不好这个东西,能不能教教我啊,作者大人。
The text was updated successfully, but these errors were encountered: