0

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>
4

1 に答える 1

0

@Kevin Seifertは正しいです:

サーブレット 2.3 の web.xml バージョンには、jsp-config、message-destination、message-destination-ref、および service-ref がありません。

于 2015-10-17T12:32:35.500 に答える