maven dependencies & JUnit


I'd like to ask, how to properly setup maven dependencies to be reflected in JUnit.

I've got this dependency

After each change I did reimport of maven. But when I run test, I'm getting following exception
java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
But I'm quite sure, that that library SHOULD be on class path. And running test using mvn test command works.

What am I doing wrong?
Thanks in advance.

Original message URL:

1 comment
Comment actions Permalink

Try full rebuild project


Please sign in to leave a comment.