Why does Spring's @Configurable sometimes work and sometimes not?

前端 未结 6 1516
感情败类
感情败类 2020-12-16 18:05

I\'m trying to use automatic dependency injection via Spring\'s @Configurable annotation w/ @Resource on the fields needing injection. This involved some setup, like passing

6条回答
  •  自闭症患者
    2020-12-16 18:57

    It sounds like your deploy process is suspect. Can you do a deployment that works, then copy that off to a directory. Then do another deployment until you get one that doesn't work. (In either order) Then finally, use a tool like beyond compare to compare the two deployment directory structures and files, and see if there are any differences.

    Good luck, nothing like a seemingly random problem to kill some productivity.

提交回复
热议问题