• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ANT problem running unit tests

 
Will Myers
Ranch Hand
Posts: 386
Java jQuery Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a strange problem when I run my junit target, I get the following exception:

Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/utils/NestedException

but only when I run the tests, the code compiles with out any problems so I would expect the tests to run fine as well (the lib directory contains all the jar the project requires including JUnit). My ANT file looks like:



Can anyone see anything glaringly obvious with it?

Thanks
Willy
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Willy, welcome to Java Ranch!

See if this recent discussion helps: http://www.coderanch.com/t/419685/Ant-Maven-Other-Build-Tools/Ant-build-With-weblogic
 
Will Myers
Ranch Hand
Posts: 386
Java jQuery Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Peter,
Thanks for the welcome!

Apologies, I did a quick search but failed to find that thread.

Willy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic