日期:2014-05-16  浏览次数:20271 次

JSF应用 A literal value was specified for attribute actionListener that is defined
修改web.xml中的这段代码
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
注意黑体数字,把它改为相应的web编译版本即可(该表达不知道对不)如编译级别是1.6该把相应的4改为5即可