Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/356.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
web.xml | | weblogic server中不允许多次出现jsp配置元素_Jsp_Weblogic - Fatal编程技术网

web.xml | | weblogic server中不允许多次出现jsp配置元素

web.xml | | weblogic server中不允许多次出现jsp配置元素,jsp,weblogic,Jsp,Weblogic,我的weblogic服务器出现以下错误 <Error> <HTTP> <BEA-101064> <[WebAppModule(*******Application:/)] Error parsing descriptor in Web appplication "********************webApp\WebContent" weblogic.descriptor.DescriptorValidateException:

我的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

凯文·塞弗特是正确的:


servlet 2.3 web.xml版本没有:jsp config、message destination、message destination ref和service ref

它们是web.ml中多次出现的
jsp config
元素吗?我在weblogic中看到了同样的情况。我认为这是一个错误消息,可能与web.xml版本2.3不支持该功能有关?
<?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>