Discussions

This is the page where I will post some issues and solutions for them ... !!!  U can do post solutions if u ve any better ones...!!    -  Karthikeya Reddy

1) "java.lang.ClassNotFoundException: [Ljava.lang.String;" exception
Have you recently run into "java.lang.ClassNotFondException: [Ljava.lang.String;" exceptions on Java 6?

Sample code to reproduce the error:
...
String[] stringArray = new String[] { "test" };
String stringArrayClassName = stringArray.getClass().getName();
getClass().getClassLoader().loadClass(stringArrayClassName);
...


Resolution: Add to your VM options:
-Dsun.lang.ClassLoader.allowArraySyntax=true