TestNG and Spring 3

前端 未结 5 763
被撕碎了的回忆
被撕碎了的回忆 2021-01-05 16:27

What is the best practice way to do unit testing with Spring? I assume the combination TestNG & jmockit with Spring 3 isn\'t bad, so that\'s what I\'m doing right now, b

5条回答
  •  梦毁少年i
    2021-01-05 17:13

    You might want to try hibernate-annotations-3.5.0-Beta-1 as this aligns with hibernate-core-3.5.0-Beta-1.

    I still get the java.lang.IncompatibleClassChangeError sometimes, as I'm trying to use hibernate search which is using the "old" annotations.

    Also, not sure if you are running JBoss, but if you are you'll get this error with core 3.5.0.

提交回复
热议问题