

 Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.

Spring applications are supported on the Oracle JavaCloud. You can download
a sample from the 'SpringSource' community project and try it out. You will
have to ensure that you package spring and all dependency jars in your web
application. To ensure that the version of spring doesn't conflict with the
one included in the system classpath, you will have to setup a package filter
in your web applications (WEB-INF/weblogic.xml descriptor) as below

----

<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90" 
                  xmlns:j2ee="http://java.sun.com/xml/ns/j2ee" 
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                  xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">

  <!-- filter out all spring classes -->
  <container-descriptor> 
    <prefer-application-packages> 
      <package-name>org.springframework.*</package-name> 
    </prefer-application-packages> 
  </container-descriptor> 

</weblogic-web-app>

----
