Jan Luehe wrote:
>
>
> Todd Patrick wrote On 02/20/07 10:17 PM,:
>
>> [Set-up]
>>
>> Mac OS X 10.4.8
>>
>> java version "1.6.0-dp"
>> Java(TM) SE Runtime Environment (build 1.6.0-dp-b88-34)
>> Java HotSpot(TM) Client VM (build 1.6.0-b88-17-release, mixed mode,
>> sharing)
>>
>> JavaServer Faces implementation (1.2-b20-FCS)
>>
>> Sun Java System Application Server Platform Edition 9.0 (build b48)
>>
>>
>> [Issue]
>>
>> This is just incredibly painful. I am getting the exception:
>>
>> javax.faces.FacesException: java.lang.ClassNotFoundException:
>> [Ljava.lang.String;
>>
>
> Hmm, I had run into a similar issue (independently of JSF) on JDK 1.6,
> and submitted this bug (along with a very simple test case) against
> the platform:
>
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6434149
> ("ClassLoader.loadClass() throws java.lang.ClassNotFoundException:
> [Ljava.lang.String; in JDK 6.0")
>
> The issue is currently being worked on.
>
> Judging from your exception message, and since you are running on JDK
> 1.6,
> you may have hit the same issue. (JDK 1.5.x is not suffering from this.)
>
>
> Jan
>
>
>
>>
>> Therefore, I downloaded the glassfish-installer-v2-b33-darwin.jar
>> because I understood that this issue was solved in v2. However,
>> glassfish-installer-v2-b33-darwin.jar is unstable and I am getting
>> this exception:
>>
>> java.lang.NoSuchMethodError:
>> javax.tools.ToolProvider.getSystemJavaCompiler()Ljavax/tools/JavaCompiler;
>>
>>
>> My goodness, is there any possible way to run what I've listed above,
>> Mac OS X 10.4.8, java version "1.6.0-dp", JavaServer Faces
>> implementation (1.2-b20-FCS) and Sun Java System Application Server
>> Platform Edition 9.0 (build b48) and not get the first exception listed?
>>
>> This is just counter-productive and very frustrating.
The Class loading issue in 1.6 was worked around in JSF 1.2_01 and
later. So if you wish to remain on 9.0, you can download the 1.2_03
GlassFish Updater [1] which will
upgrade your existing GlassFish installation.
[1]
https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?folderID=6481&expandFolder=6481&folderID=1504
>>
>> --Todd
>>
>> NOTICE: This email message is for the sole use of the intended
>> recipient(s) and may contain confidential and privileged information.
>> Any unauthorized use, disclosure or distribution is prohibited. If
>> you are not the intended recipient, please contact the sender by
>> reply email and destroy all copies of the original message.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>