Tuesday, January 26, 2010

javax.faces.FacesException: java.lang.ClassNotFoundException: [Ljava.lang.String

I got this error soon after I changed my jdk version to 1.6.
Turned out - since I'm using jdk1.6 unlike 1.5 it will not attempt to load class (java.lang.String) by name by default, hence the exception.
is easily solvable by locating JVM runtime in Eclipse's preferences.
(Window->Preferences->Installed JREs)

now add -Dsun.lang.ClassLoader.allowArraySyntax=true to your VM Arguments.The error shouldn't persist anymore.

REFACTORING

 What is Refactoring? A software is built initially to serve a purpose, or address a need. But there is always a need for enhancement, fixin...