@littleant 你好,想跟你请教个问题:
我在访问这个项目的时候总是404找不到,控制台报错如下:
param index: 1 param type: Integer param value: 200
param index: 2 param type: Integer param value: 0
加载扩展词典:/little/ant/platform/lucene/ext.dic
加载扩展词典:/little/ant/platform/lucene/ft_main2012.dic
加载扩展词典:/little/ant/platform/lucene/ft_quantifier.dic
加载扩展词典:/little/ant/platform/lucene/ja.dic
加载扩展停止词典:/little/ant/platform/lucene/stop.dic
2014-11-30 00:02:34
[INFO]-[Thread: localhost-startStop-1]-[little.ant.weixin.lucene.DocKeyword.indexAllKeyword()]: 索引结束,耗时:52969
2014-11-30 00:02:34
[INFO]-[Thread: localhost-startStop-1]-[little.ant.platform.run.JfinalConfig.afterJFinalStart()]: afterJFinalStart 系统负载
2014-11-30 00:02:34
[INFO]-[Thread: localhost-startStop-1]-[little.ant.platform.thread.TimerResources.start()]: 开始启动任务
2014-11-30 00:02:34
[INFO]-[Thread: localhost-startStop-1]-[little.ant.platform.thread.TimerResources.start()]: 启动任务完成
十一月 30, 2014 12:02:34 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
十一月 30, 2014 12:02:34 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
十一月 30, 2014 12:02:34 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 78795 ms
2014-11-30 00:02:35
[INFO]-[Thread: Timer-0]-[little.ant.platform.thread.TimerResources$1.run()]: 任务执行开始
Sql:
insert
into
`
pt_resources`(
`phymemory`, `jvmtotalmemory`, `jvmmaxmemory`, `cpuratio`, `ids`, `ips`, `phyfreememory`, `createdate`, `hostname`, `version`, `osname`, `gccount`, `jvmfreememory`, `cpunumber`
)
values
(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Sql param: 14
param index: 1 param type: Long param value: 1972
param index: 2 param type: Long param value: 247
param index: 3 param type: Long param value: 247
param index: 4 param type: Double param value: 0.0
param index: 5 param type: String param value: 791734f860044bb094b8035746067ec7
param index: 6 param type: String param value: 192.168.1.102
param index: 7 param type: Long param value: 223
param index: 8 param type: Timestamp param value: 2014-11-30 00:02:36.523
param index: 9 param type: String param value: liuyinchao-PC
param index: 10 param type: Long param value: 0
param index: 11 param type: String param value: Windows 7
param index: 12 param type: Long param value: 179
param index: 13 param type: Long param value: 6
param index: 14 param type: Integer param value: 2
2014-11-30 00:02:36
[INFO]-[Thread: Timer-0]-[little.ant.platform.thread.TimerResources$1.run()]: 任务执行结束
2014-11-30 00:04:35
[INFO]-[Thread: Timer-0]-[little.ant.platform.thread.TimerResources$1.run()]: 任务执行开始
Sql:
insert
into
`
pt_resources`(
`phymemory`, `jvmtotalmemory`, `jvmmaxmemory`, `cpuratio`, `ids`, `ips`, `phyfreememory`, `createdate`, `hostname`, `version`, `osname`, `gccount`, `jvmfreememory`, `cpunumber`
)
values
(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Sql param: 14
param index: 1 param type: Long param value: 1972
param index: 2 param type: Long param value: 247
param index: 3 param type: Long param value: 247
param index: 4 param type: Double param value: 0.1583388513797237
param index: 5 param type: String param value: f0cb7d5cebda4b228633f8452ef118ea
param index: 6 param type: String param value: 192.168.1.102
param index: 7 param type: Long param value: 241
param index: 8 param type: Timestamp param value: 2014-11-30 00:04:35.66
param index: 9 param type: String param value: liuyinchao-PC
param index: 10 param type: Long param value: 0
param index: 11 param type: String param value: Windows 7
param index: 12 param type: Long param value: 180
param index: 13 param type: Long param value: 14
param index: 14 param type: Integer param value: 2
2014-11-30 00:04:35
[INFO]-[Thread: Timer-0]-[little.ant.platform.thread.TimerResources$1.run()]: 任务执行结束
嗯,很好,我一开始玩也遇到这个问题,后来搞好了,不过现在忘了怎么解决了。那可以给一点思路吗404?会不会URL错了啊直接127.0.0.1:89就行了 你试试直接在config类中使用jetty启动,不用tomcat来启动,访问<spanstyle="font-family:微软雅黑,Verdana,sans-serif,宋体;font-size:14px;line-height:normal;background-color:#FFFFFF;">127.0.0.1:89应该就可以了我已经解决问题了,不过还是要谢谢你你是怎么解决的
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。