You can increase the size of the PermGen space. This will buy you time between occurrences, not fix the problem as Gokul states.
Follow Lester's link. This problem has to do with how the classloader works. There is no workaround that I have seen.