I came across this issue when executing one unit test. From the log info, it seems that this class is not found in activation.jar. Yes, this class is not there. But the root cause is - the reference of javaee.jar in myeclipse. After removing the reference to JavaEE 5 package , it works now! Awesome!