Every time I use Hibernate JUnit to test an exception about Java Common logging:
Caused by: org.apache.commons.logging.logconfigurationException: Invalid Class Loader Hierarchy. You Have More Than One Version of 'Org.Apache.commons.logging.log' Visible, Which is not allowed.
Later, I found it online, I learned that this is caused by Eclipse's ClassLoader and Junit's Thread Context ClassLoader loaded two different org.apache.commons.log interface implementation, then find a JCLECLIPSE plugin, but after installation There is no role.
The next day, I found it again, I found that after JUnit startup, I will disappear, and then watching it, Tip is useful, and it is useful. It is not difficult to understand.
The current problem is how to default to the RELOAD CLASS EVERY RUN by default when the test starts.