When using Spring DM integration testing I get an exception about serialVersionUID. What is the problem?
This problem occurs on Spring DM versions up to 1.0 – consider upgrading to 1.0.1 or better. If you are stuck with 1.0 see below. When running an integration test, Spring DM will duplicate the test instance and execute it inside OSGi. To avoid problems like this one, make sure you are using the same libraries (with the same version) as Spring DM when running your test. This particular problem for example is caused by a JUnit 3.8.2 vs 3.8.x serialization compatibility. Make sure that you are using at least JUnit 3.8.2 for the execution of your tests.
Related Questions
- How do the FAAs drug and alcohol testing regulations apply to an individual who has self-disclosed a drug or alcohol abuse problem?
- Our venue are demanding to see evidence of Portable Appliance Testing (PAT Testing) and Liability Insurance. Is that a problem?
- What is Significance of JSF- Spring integration ?