I'm attempting to run a pretty simple Groovy script within IDEA 10 on a Mac. However, I'm getting the following error:
Caught: java.lang.SecurityException: Prohibited package name: java.text
From doing some searching, IDEA had similar problems running groovy scripts a couple of versions ago, but it was on the java.lang package. The fixes for that problem don't seem to help the java.text problem.
The class I'm trying to access is SimpleDateFormat.
Has anybody run into this and been able to find a workaround (other than running it outside of IDEA of course).