java.lang.ClassNotFoundException: [Ljava.lang.String;

使用jsf 1.2-b20-FCS 与 tomahawk-1.1.6 发生错误:

java.lang.ClassNotFoundException: [Ljava.lang.String;
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1020)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:770)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:529)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2007-11-27 15:39:27 com.sun.faces.config.ConfigureListener contextInitialized
信息: Completed initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/jsf'
2007-11-27 15:39:27 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
javax.faces.FacesException: java.lang.ClassNotFoundException: [Ljava.lang.String;
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:535)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.ClassNotFoundException: [Ljava.lang.String;
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1020)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:770)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:529)
    ... 15 more

解决方法:
JDK 6.0:  的bug,只能等待sun解决.
汗...
使用JDK 1.5没问题
参考链接: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6434149

你可能感兴趣的:(java,apache,ext,JSF,sun)