This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error with running EJBContainer junit test

 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I got an error exception when running EJB3 junit test wtih EJBContainer.

Here is the error:;



code for CategoryManager.java:



I have followed the tutorial as shown below to setup my project, but I am still getting this error.

EJBContainer tutorial

Any suggestion is very appreciated.
Thanks
Sam
 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know why I got ".findAll(Unknown Source)" error.
Anyone ?

Thanks
Sam
 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone suggestion a way how to troubleshoot this error?

Thanks
Sam
 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Further investigation, I found I omitted the following error when running the Test case:



Why I am getting this error in the first place?

Thanks
Sam
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic