users@glassfish.java.net

JUNIT and XmlAdapter

From: Kenneth Clark <kenneth_at_rabiddog.co.za>
Date: Thu, 04 Jan 2007 08:47:09 +0200

This is crazy

If I don't deploy the junit files I get the error
Error Description : java.lang.NoClassDefFoundError: junit/framework/TestCase

As soon as I do deploy the junit files I get the error
Error Description : java.lang.NoClassDefFoundError:
javax/xml/bind/annotation/adapters/XmlAdapter

How on earth do I get round this? Do I have to remove the test cases
from my deployment jar?

Thanks
Kenneth