简体   繁体   English

在weblogic 12C上部署WebApp共享库

[英]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. 我正在尝试迁移针对weblogic 10.3.x和weblogic 12C构建的共享库。 I succeeded to deploy the ear shared libraries. 我成功部署了耳共享库。 Unfortunately, the deployment of webapp sharedlibraries always fails withe the following error : 不幸的是,部署webapp共享库始终失败,并出现以下错误:

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 我典型的Webapp共享库具有以下内容

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

The content of my web.xml 我的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.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">

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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