введите описание изображения здесь
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
</head>
<body>
<h1>Object not found!</h1>
<p>
The requested URL was not found on this server.
If you entered the URL manually please check your
spelling and try again.
<h2>Error 404</h2>
<address>
<a href="/">localhost</a><br />
<span>Mon Jan 28 16:43:56 2019<br />
Apache/2.2.12 (Linux/SUSE)</span>
</address>
</body>
</html>
Я разрабатываю приложение с помощью веб-сервисов, когда я вызываю этот сервис, он выдает мне ошибку
http://localhost:80/clayapi/restservices/getCustomers
Мне возвращают эту HTML-страницу
The requested URL was not found on this server.
If you entered the URL manually please check your
spelling and try again.
все остальные службы работают хорошо, но это не работает
URL-адрес правильный
@Path("getCustomers")
@GET
@Produces(MediaType.APPLICATION_JSON)
public String getCustomers(@HeaderParam("token") String token)
{
if(token.equalsIgnoreCase(this.token)) {
String sql="select......";
Database db = new Database();
String json = db.executeQueryTOJSON(sql);
return json;
}else
return "{\"error\":\"bad token provided\"}; }