Jersey setup on app engine

后端 未结 1 1212
南旧
南旧 2021-02-11 04:08

I recently added jersey to my app engine project, everything works great on my local machine but when I try to access the page on the deployed site I get errors. I think I migh

相关标签:
1条回答
  • 2021-02-11 04:51

    You need to add

    <init-param>
        <param-name>com.sun.jersey.config.feature.DisableWADL</param-name>
        <param-value>true</param-value>
    </init-param>
    

    to web.xml

    This prevents classes that use reflection, which is not allowed on app engine.

    0 讨论(0)
提交回复
热议问题