java - BEA-160228 LoggerFactory Logback LoggerContext. Either remove Logback... Weblogic springboot
问题描述
I really lost the way here, i'm trying to deploy a springboot application, when I try to upload .war file in a weblogic 12c returns BEA-160228 with error message in title here is my pom.xml:
https://bitbucket.org/snippets/CPernillo/6eg5oe
I've tried a lot of solutions that I found on forums even here in stack but nothing seems to work for me like disable spring-boot-starter-logging (as you can see in pom.xml), add a weblogic.xml to my webapp/WEB-INF folder (here it is):
https://bitbucket.org/snippets/CPernillo/yed5oA
Please stack-experts, help me and thanks in advance.
Update 1 This project has sucessfully deployed in a dev server, without changing anything, the problem is production server.
解决方案
固定的!
仅当将来有人不得不通过这种厄运时,我才回答:
两个 weblogic 中的 Java 版本不同,spring 2.0.3.REALEASE 仅支持 java 8,因此,生产服务器具有 jdk 7,客户端的系统管理员将度过一个漫长的夜晚将所有旧项目迁移到 jdk 8。
推荐阅读
- python - 如何在 Python3 中验证 x509 证书
- javascript - 根据最接近给定数字的十进制值获取密钥
- linux - Bash 脚本不能 cat 文件:没有这样的文件或目录,但该文件确实存在并且 CMD 行 cat 确实在同一路径上工作
- node.js - TypeScript NodeJs mongoose-paginate-v2 不可能的构建项目
- object-detection - loss值非常大,经过几批改成-nan
- docker - AzerothCore Docker 安装返回 FileNotFoundError
- r - 从R中另一列中基于关闭条件的列中获取值?
- javascript - 如何在我的项目中使用 useanimations.com 提供的图标
- excel - Excel连接多列中的字符串,计算并删除重复项
- javascript - 单击按钮并应用 setInterval 函数时,我的 Bootstrap-5 画布外无法正常工作