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.

Comments

Popular posts from this blog

Andriod App that uses Google App Engine as Backend

FETCH DISTICT ROWS USING HIBERNATE

Logging the right way