How do I configure Glassfish 5 to use Moxy as the default Provider?
问题 I’m migrating our web application from Glassfish 3 to Glassfish 5, and during the migration I ran across this error for a request. [2019-09-17T15:57:30.732-0600] [glassfish 5.0] [WARNING] [] [javax.enterprise.web] [tid: _ThreadID=241 _ThreadName=http-listener-2(27)] [timeMillis: 1568757450732] [levelValue: 900] [[ StandardWrapperValve[ClientControllers]: Servlet.service() for servlet ClientControllers threw exception java.lang.ClassCastException: [Z cannot be cast to [Ljava.lang.Object; at