Set JSON provider at RESTEasy on JBoss 7.1.1

前端 未结 4 1266
执念已碎
执念已碎 2021-02-15 17:26

How could I set JSON provider for RestEasy at JBoss 7.1.1?

RestEasy documentation says:

RESTEasy allows you to marshall JAXB annotated POJOs to an

4条回答
  •  伪装坚强ぢ
    2021-02-15 18:05

    I added this line to standalone.conf.bat/sh and it solved my problem.

    set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager=true"

提交回复
热议问题