在試用Tapestry5.0.3的時候發現這個問題:
WARN [(jetty.servlet.ServletHandler)] Error for /wfmanager/
java.lang.NoSuchMethodError: java.lang.Class.getSimpleName()Ljava/lang/String;
at org.apache.tapestry.ioc.internal.util.InternalUtils.asString(InternalUtils.java:91)
at org.apache.tapestry.ioc.services.MethodLocation.toString(MethodLocation.java:50)
at org.apache.tapestry.ioc.internal.util.InternalUtils.asString(InternalUtils.java:67)
at org.apache.tapestry.ioc.internal.ServiceBuilderMethodInvoker.methodId(ServiceBuilderMethodInvoker.java:82)
我的jdk是J2sdk1.5.0的后來換成j2sdk1.5.10就可以了.所以說j2sdk.15不全是都支持getSimpleName()這個方法的.
WARN [(jetty.servlet.ServletHandler)] Error for /wfmanager/
java.lang.NoSuchMethodError: java.lang.Class.getSimpleName()Ljava/lang/String;
at org.apache.tapestry.ioc.internal.util.InternalUtils.asString(InternalUtils.java:91)
at org.apache.tapestry.ioc.services.MethodLocation.toString(MethodLocation.java:50)
at org.apache.tapestry.ioc.internal.util.InternalUtils.asString(InternalUtils.java:67)
at org.apache.tapestry.ioc.internal.ServiceBuilderMethodInvoker.methodId(ServiceBuilderMethodInvoker.java:82)
我的jdk是J2sdk1.5.0的后來換成j2sdk1.5.10就可以了.所以說j2sdk.15不全是都支持getSimpleName()這個方法的.