我的weblogic服务器出现以下错误。
<Error> <HTTP> <BEA-101064> <[WebAppModule(*******Application:/)] Error parsing
descriptor in Web appplication "********************webApp\WebContent"
weblogic.descriptor.DescriptorValidateException: The following failures occurred:
-- Multiple occurrences of jsp-config element are not allowed in web.xml
在web.xml中添加以下行后。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
---------------------------------------------
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<trim-directive-whitespaces>true</trim-directive-whitespaces>
</jsp-property-group>
</jsp-config>
答案 0 :(得分:0)
@Kevin Seifert是正确的:
servlet 2.3 web.xml版本没有:jsp-config,message-destination,message-destination-ref和service-ref