Java SE: Unit Testing CDI with JUnit and JBoss Weld SE

You may also like...

3
Leave a Reply

avatar
2 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
3 Comment authors
Kolya YanchiyMemoryNotFoundPaolo Recent comment authors
  Subscribe  
newest oldest
Notify of
Paolo
Guest
Paolo

This tutorial does not work….
I have created a fresh maven project, copied the code from the tutorial, and used only the copy/pasted dependencies from the pom file fragment provided and still receive the following error….

testCDI(LogTest): WELD-001308: Unable to resolve any beans for Type: class LogTest; Qualifiers: [@javax.enterprise.inject.Any()]

Kolya Yanchiy
Guest
Kolya Yanchiy

Thanks a lot)))