WebLogic 12cで実行しようとしているSpring MVC/Spring Securityプロジェクトに問題があります。プロジェクトはTomcatを使用して作成されていますが、通常のURL(http .../project/users /)として動作するはずですが、WL上では常にエラー403(http .../project/)。WebLogic 12cとSpring MVCエラー403
プロジェクトは、Spring MVCの(4.3.0.RELEASE)、春のセキュリティ(4.1.1.RELEASE)とThymeleaf(3.0.1.RELEASE)
で動作するweb.xmlファイルには含まれています
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<error-page>
<error-code>404</error-code>
<location>/404</location>
</error-page>
とweblogic.xml
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.7/weblogic-web-app.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<context-root>project</context-root>
<session-descriptor>
<cookie-name>PROJECT</cookie-name>
<cookie-path>/project</cookie-path>
</session-descriptor>
</weblogic-web-app>
全体Spring構成がなされましたXMLファイルではなくJavaを使用します。
私はここや他のフォーラムで見つけたさまざまなオプションを試してきましたが、今までは解決策が見つかりませんでした。
私はWebLogic 12.1.3.0.0を使用しています – KESO