No Such Method Error when creating JUnit test

后端 未结 5 820
忘了有多久
忘了有多久 2020-12-31 10:48

I\'ve tried figuring out this problem for the last 2 days with no luck. I\'m simply trying to create an annotation based JUnit test using the spring framework along with hi

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-31 11:37

    I had a similar error using Spring 2.5 with Hibernate on NetBeans 6.5. One way I resolved the issue was downloading Spring 3.0 M2 and creating a NetBeans library I called Spring_3 using the jars from the distro. This library also had to include the antlr-runtime-3.0.jar.

    See: http://forum.springsource.org/showthread.php?t=65324

    -Leo

提交回复
热议问题