Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB module unit test initialization error

Brandon Davis
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to unit test a simple EJBModule project (Using Glassfish 3.1.1) under NetBeans 7.1, but I am receiving one warning and an initialization error. I'm hoping someone is familiar with this type of issue.

In project one we have a remote interface like this:

Then in a second project we are implementing the interface like this:

And finally in the unit test I am doing this:

When I run the unit test I receive the warning and the error.

The warning is:

Followed by this error on the test case:

Any suggestions on how to resolve this? Thanks.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic