首页 > 解决方案 > 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.

标签: javaspring-bootlog4jweblogic

解决方案


固定的!


仅当将来有人不得不通过这种厄运时,我才回答:

两个 weblogic 中的 Java 版本不同,spring 2.0.3.REALEASE 仅支持 java 8,因此,生产服务器具有 jdk 7,客户端的系统管理员将度过一个漫长的夜晚将所有旧项目迁移到 jdk 8。


推荐阅读