Did you use the following instructions to setup Eclipse? http://appfuse.org/display/APF/Eclipse
Matt On Wed, Aug 13, 2008 at 6:12 PM, halfstep <[EMAIL PROTECTED]> wrote: > > Hi, I'm a new user for appfuse. I'm using spring + webflow and trying to run > through the tutorials. I have my project set up in eclipse. I've run into > a few problems and was trying to debug through eclipse. For some reason > though, all my junit test fail in eclipse. I have them working from the > command line though. I'm sure its some quirky configuration. I'm using > eclipse ganymede. > > Here is the tutorial I ran: http://appfuse.org/display/APF/Using+Hibernate > > From the stacktrace, it looks like its having trouble loading the spring > config files. I'm not sure how to resolve this. Can anyone help please? > > Here is the stack trace: > > org.springframework.beans.factory.UnsatisfiedDependencyException: Error > creating bean with name 'org.halfstep.urbansite.dao.PersonDaoTest': > Unsatisfied dependency expressed through bean property 'personDao': Set this > property value or disable dependency checking for this bean. > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.checkDependencies(AbstractAutowireCapableBeanFactory.java:1183) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1004) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:329) > at > org.springframework.test.AbstractDependencyInjectionSpringContextTests.injectDependencies(AbstractDependencyInjectionSpringContextTests.java:230) > at > org.springframework.test.AbstractDependencyInjectionSpringContextTests.prepareTestInstance(AbstractDependencyInjectionSpringContextTests.java:195) > at > org.springframework.test.AbstractSingleSpringContextTests.setUp(AbstractSingleSpringContextTests.java:102) > at junit.framework.TestCase.runBare(TestCase.java:132) > at > org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:76) > at junit.framework.TestResult$1.protect(TestResult.java:110) > at junit.framework.TestResult.runProtected(TestResult.java:128) > at junit.framework.TestResult.run(TestResult.java:113) > at junit.framework.TestCase.run(TestCase.java:124) > at junit.framework.TestSuite.runTest(TestSuite.java:232) > at junit.framework.TestSuite.run(TestSuite.java:227) > at > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) > at > org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45) > at > org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) > > > -- > View this message in context: > http://www.nabble.com/Running-Test-in-eclipse-tp18974161s2369p18974161.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
