Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想Date使用 CXF 接收参数。
Date
以下代码适用于 CXF 2.6.0,但不适用于 CXF 3.0.0:
@POST @Path("/getPlayers") @Produces("application/json") public List<Player> getPlayers(@FormParam("birthDate") Date birthDate) throws Exception;
如果我声明birthDate为字符串,则此方法有效。
birthDate
我错过了什么?