MVP with CDI; avoiding circular dependency

后端 未结 4 1725
别那么骄傲
别那么骄傲 2021-01-12 02:03

I try to build a Webapp with the MVP paradigm. Because I want the API to be clean and make everything easy testable I try to inject everything possible via Contructor Inject

4条回答
  •  遥遥无期
    2021-01-12 02:29

    It seems to me that Vaadin has nothing to do with the problem.

    There may be (probably) a circular dependency injection problem but the problem lies in the ClassNotFoundException. What application server are you deploying to? Is it a full fledged Java EE 6 AS? If not, perhaps you're missing some libraries in your deployment.

提交回复
热议问题