activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jiri Daněk <jda...@redhat.com>
Subject Re: Artemis Junit without Maven
Date Tue, 11 Dec 2018 15:29:18 GMT
On Tue, Dec 11, 2018 at 4:18 PM Eric Song <eric.song@intelerad.com> wrote:

> Hello,
>
> I'm attempting to get Artemis's JUnit testing set up by using the
> EmbeddedActiveMQResource. However, I am using SCons instead of Maven, and
> am having trouble with the dependencies. After importing the .jar for
> artemis-junit and all of its compile dependencies, I get a
>
> java.lang.NoClassDefFoundError: org/junit/rules/ExternalResource
>
> I have a junit jar already in my classpath, and my other junit tests work
> properly. Is there a shaded jar or some other dependency that I am missing?
>

Artemis uses junit 4.11. What version of the jar do you use? (I don't think
that could be the problem, just that I know Artemis uses an unusual version
of junit, so in case...)

https://mvnrepository.com/artifact/junit/junit/4.11
-- 
Mit freundlichen Grüßen / Kind regards
Jiri Daněk

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message