g**l 发帖数: 85 | 1 Error 404 - Not Found.
No context on this server matched or handled this request.
Contexts known to this server are:
确实没有其他地方用8080,
我再terminal在jetty的目录中用命令java -jar start.jar 启动jetty就能正常打开页面
但是在eclipse种的jetty用started启动(其实在eclipse中装jetty server的时候也问
过jetty server的目录) 跟terminal中一个目录,只不过又在eclipse中设置了一下,
就出现打开页面时的 404错误
Error 404 - Not Found.
No context on this server matched or handled this request.
Contexts known to this server are:
好像jetty的服务还是起来了
就是context路径或者目录没东西,
但是我不知道怎么配置修改
请教是什么原因
谢谢 |
t*******e 发帖数: 684 | 2 Your app failed during deployment stage. If it passed deployment, it could
fail at runtime with 500 error code. |
a****i 发帖数: 1182 | 3 404 I think the first thing need be checked is the URL
is it correctly pointing to your application?
what happens if you type http://localhost:8080 ?
【在 t*******e 的大作中提到】 : Your app failed during deployment stage. If it passed deployment, it could : fail at runtime with 500 error code.
|
c*********e 发帖数: 16335 | 4 8080端口确定没有其它用途?
【在 g**l 的大作中提到】 : Error 404 - Not Found. : No context on this server matched or handled this request. : Contexts known to this server are: : 确实没有其他地方用8080, : 我再terminal在jetty的目录中用命令java -jar start.jar 启动jetty就能正常打开页面 : 但是在eclipse种的jetty用started启动(其实在eclipse中装jetty server的时候也问 : 过jetty server的目录) 跟terminal中一个目录,只不过又在eclipse中设置了一下, : 就出现打开页面时的 404错误 : Error 404 - Not Found. : No context on this server matched or handled this request.
|
g**l 发帖数: 85 | 5 确实没有其他地方用8080,
我再terminal在jetty的目录中用命令java -jar start.jar 启动jetty就能正常打开页面
但是在eclipse种的jetty用started启动(其实在eclipse中装jetty server的时候也问
过jetty server的目录) 跟terminal中一个目录,只不过又在eclipse中设置了一下,
就出现打开页面时的 404错误
Error 404 - Not Found.
No context on this server matched or handled this request.
Contexts known to this server are:
好像jetty的服务还是起来了
就是context路径或者目录没东西,
但是我不知道怎么配置修改
谢谢
【在 c*********e 的大作中提到】 : 8080端口确定没有其它用途?
|
g**l 发帖数: 85 | 6 http://localhost:8080就是显示这个结果
Error 404 - Not Found.
No context on this server matched or handled this request.
Contexts known to this server are:
好像jetty的服务还是起来了
就是context路径或者目录没东西,
但是我不知道怎么配置修改
【在 a****i 的大作中提到】 : 404 I think the first thing need be checked is the URL : is it correctly pointing to your application? : what happens if you type http://localhost:8080 ?
|
t*******e 发帖数: 684 | 7 404code is returned by Jetty.
【在 g**l 的大作中提到】 : http://localhost:8080就是显示这个结果 : Error 404 - Not Found. : No context on this server matched or handled this request. : Contexts known to this server are: : 好像jetty的服务还是起来了 : 就是context路径或者目录没东西, : 但是我不知道怎么配置修改
|
g**l 发帖数: 85 | 8 关键怎么修改呀,很多配置文件的
【在 t*******e 的大作中提到】 : 404code is returned by Jetty.
|
|
g*****g 发帖数: 34805 | 9 The first thing to check is context in your eclipse project configuration.
By default it is /YourApp. |
c*********e 发帖数: 16335 | 10 装jetty server的时候,有没有问过端口号码?
页面
【在 g**l 的大作中提到】 : Error 404 - Not Found. : No context on this server matched or handled this request. : Contexts known to this server are: : 确实没有其他地方用8080, : 我再terminal在jetty的目录中用命令java -jar start.jar 启动jetty就能正常打开页面 : 但是在eclipse种的jetty用started启动(其实在eclipse中装jetty server的时候也问 : 过jetty server的目录) 跟terminal中一个目录,只不过又在eclipse中设置了一下, : 就出现打开页面时的 404错误 : Error 404 - Not Found. : No context on this server matched or handled this request.
|
g**l 发帖数: 85 | 11 问没问忘了,现在就是不知道主要查哪几个配置文件和目录,没有思路,
端口号是否对怎么查呢?
谢谢
【在 c*********e 的大作中提到】 : 装jetty server的时候,有没有问过端口号码? : : 页面
|
g**l 发帖数: 85 | 12 去哪里找这个配置呢?关键没有思路
【在 g*****g 的大作中提到】 : The first thing to check is context in your eclipse project configuration. : By default it is /YourApp.
|
c*********e 发帖数: 16335 | 13 建议重装一次,留心问端口号的地方。
【在 g**l 的大作中提到】 : 问没问忘了,现在就是不知道主要查哪几个配置文件和目录,没有思路, : 端口号是否对怎么查呢? : 谢谢
|