org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException in REST with Spring

后端 未结 4 1309
无人共我
无人共我 2021-01-06 19:04

I am trying to create REST service using Spring.When I try to access that service it returns proper data but shows -

Exception handling request to /RESTServ         


        
4条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-06 19:46

    This may be helpful to those who aren't able to upgrade past Wildfly 8.1.0 in their project to address this problem. Ingvar's answer above of patching the code helped me out a lot, and here is a script that will perform the patch in one command for you (keeping a backup of your previous copy):

    https://github.com/ldojo/wf-8.1.0-undertow-1.0.15-patch

提交回复
热议问题