我正在尝试一个关于Tapestry的hello world教程。我试图按照它在官方教程enter link description here
中编写的方式做所有事情。但每次我运行http://localhost:8080/HelloTapestry/app时都会收到此错误:
Aug 02, 2016 10:19:29 AM org.apache.tapestry.error.RequestExceptionReporterImpl reportRequestException
WARNING: Unable to process client request: Error at classpath:/org/apache/tapestry/components/Insert.jwc, line 34, column 28: Error adding property format to class org.apache.tapestry.components.Insert: Unable to add method void setFormat(java.text.Format) to class $Insert_1: java.io.IOException: invalid constant type: 18
org.apache.hivemind.ApplicationRuntimeException: Error at classpath:/org/apache/tapestry/components/Insert.jwc, line 34, column 28: Error adding property format to class org.apache.tapestry.components.Insert: Unable to add method void setFormat(java.text.Format) to class $Insert_1: java.io.IOException: invalid constant type: 18 [classpath:/org/apache/tapestry/components/Insert.jwc, line 34, column 28]
我使用动态web项目与servlets 2.3,java编译器1.7,tomcat 7.0和Tapestry 4.1(我试过4.1.3 libs但它要求记录lib,我试过servlets 3.0它给了我相同的类路径误差)
请提示吗?