I have a I import Now in the trial, I need a bean that is in But I get an error when I run the test saying this by: How can I fix it? How can I know the right path? X project that has wireup.xml As follows:
X / module / src / main / resource / com.here/ wireup.xml module < / Code Project X in project Y as
& lt; Dependency & gt; & Lt; Group & gt; Com.org.X & lt; / Group & gt; & Lt; ArtifactId & gt; Module & lt; / ArtifactId> & Lt; Version & gt; Master-snapshot and lt; / Edition & gt; & Lt; / Dependencies & gt; wireup.xml , so I do the following:
@ RunWith (SpringJUnit4ClassRunner.class) @ContextConfiguration (places = {"classpath: com / org / x / module / src / main / resources / com / here / wireup.xml"}) Public square MongoSaverTest enhances case {@Autowired Private SomeBeanInWireup Variables; }
Comments
Post a Comment