intellij idea + tomcat问题


在idea中启动tomcat跑服务端, 然后通过浏览器访问localhost:8080/SofaServer提示404,而且所有json请求都返回500,并且tomcat webapps目录中也没有我的服务端,但是可以用localhost:8080/Image/a.jpg访问到图片,请问为什么
图片描述

图片描述

intellij-idea java tomcat

宇佐美绘理子 9 years, 1 month ago

json请求返回500,代码会报异常,看看日志吧。
localhost:8080/SofaServer 的问题,应该是缺jar。

从现象上看到这么多。

黑叔叔的怪胡子 answered 9 years, 1 month ago

Your Answer