【发布时间】:2017-02-11 03:01:45
【问题描述】:
我正在使用 spark Java,并且我为 GET 请求设置了以下路由 localhost:4567//routeexemple/users/,
当我输入参数 testnight (http://localhost:4567/routeexemple/users/?userName=testnight) 我有一个值从数据库返回,但是当我输入以下查询参数 testApresmidi (http://localhost:4567/routeexemple/users/?userName=testApresmidi) 上面写着The requested route [/routeexemple/users/] has not been mapped in Spark。
我的错误可能是什么。
提前致谢。
【问题讨论】:
标签: routing spark-java