spring-jersey

    0熱度

    1回答

    我一直在試圖將Spring 4與Jersey 2一起使用,並注意到使用jersey-spring3擴展沒有辦法讓@Named由Spring管理註釋資源。他們必須註明@Component由Spring管理。 如果資源註釋爲@Named HK2似乎「接管」管理該資源。 資源 import com.example.jersey.spring.Greeting; import java.util.log

    0熱度

    1回答

    我使用springboot 1.5.2和我使用的球衣和JSF 我有默認視圖映射/如下: @Bean public WebMvcConfigurerAdapter defaultView() { return new WebMvcConfigurerAdapter() { @Override public void addViewController

    0熱度

    1回答

    我正在嘗試爲使用Jersey和某些Spring DI的應用程序編寫一些集成測試。測試總是會回到500,沒有真正的解釋。灰熊似乎開始好了,啓動我的休眠連接就好了。這裏是錯誤跟蹤以及所有相關文件無需測試的類。我認爲這可能是一個與灰熊和配置問題,但我無法找到任何似乎工作,包括切換到webappcontext。 javax.ws.rs.InternalServerErrorException: HTTP