thanks Matt, right after posting I remembered having this problem before so I
did a quick check and you suggested running mvn clean test and that did the
trick.
Regards,
..kace
--
View this message in context:
http://www.nabble.com/running-tests-under-IDEA-tp17272760s2369p17279040.html
Sent
You need to run "mvn resources:testResources" in the module that's
giving the error and then exclude src/main/resources from your
classpath as this has the file with the placeholders.
Matt
On Fri, May 16, 2008 at 10:26 AM, kace <[EMAIL PROTECTED]> wrote:
>
> added
>
>
>org.springfram
added
org.springframework
spring-aop
${spring.version}
in the pom for the data module and the problem has gone but now I am getting
the error pasted below.
In the module project settings I have included src/test/java and
src/test/resources as pa
After further digging I see that there is no other version of Spring in the
service module however, in the data-common module which the service module
depends on, I see a spring-aop:2.0.8 jar file. The pom for this module has
the following dependencies:
commons-beanutils
NoSuchMethodError generally happens when you have conflicting versions
of some library in your classpath. If you don't see another version of
Spring, I don't know what the problem could be. If you're using
AppFuse straight-up from SVN and this happens, it's probably because
you need to run "mvn res
Thanks Matt,
there is only version 2.5.4 of spring under libraries.
..kace
--
View this message in context:
http://www.nabble.com/running-tests-under-IDEA-tp17272760s2369p17272882.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
-
If you expand "Libraries" in your Project pane, are there different
versions of Spring listed?
Thanks,
Matt
On Fri, May 16, 2008 at 5:39 AM, kace <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I checked out the code for appfuse and used it to structure my appfuse
> projects in the same way instead of wo
Hi,
I checked out the code for appfuse and used it to structure my appfuse
projects in the same way instead of working off the modular projects I used
to before. I use IDEA 7 and if I click test, using the native maven support,
all the tests pass for all the modules and I get a build successful