2017-02-12 23 views
1

击中URL以HTTP的休息resquest国土资源不可用

localhost:8080/A_Star_Algorithm/rest/GridResource/default 

得到404错误:

The requested resource is not available.

我不能够解决问题。试了一切。阅读所有现有的博客。任何帮助赞赏。

Attached screen shot of Code, web.xml and libs

回答

0

<init-param>你需要与你的应用程序包来注册

<param-value>your-application-package</param-value> 

您的网址应localhost:8080/<WAR-FILE-NAME>/rest/GridResource/default