简体   繁体   中英

Deploy a webapp shared library on weblogic 12C

I'm trying to migrate my shared libs built against weblogic 10.3.x against weblogic 12C. I succeeded to deploy the ear shared libraries. Unfortunately, the deployment of webapp sharedlibraries always fails withe the following error :

Erreur Impossible d'accéder à l'application sélectionnée.
Erreur Exception in AppMerge flows' progression
Erreur Exception in AppMerge flows' progression
Erreur Unable to transform version 2.4 web application namespace to version 2.5

My typical webapp shared library have the following content

/WEB-INF/
---------web.xml
---------lib
------------ my libraries

The content of my web.xml

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

</web-app>

What should I change ?

Thanks in advance for your help

Regards

I did not pay attention to your namespace defintion earlier. Try this in the web.xml

<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM