weblogic 12c java.lang.NoSuchMethodError: org.springframework.beans.MutablePropertyValues.add
java.lang.NoSuchMethodError: org.springframework.beans.MutablePropertyValues.add in WebLogic 12c
solutions:
Add below script in weblogic.xml in WEB-INF directory
<wls:container-descriptor>
<wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
</wls:container-descriptor>
for example:
<?xml version="1.0" encoding="UTF-8"?>
<wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" 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 http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.7/weblogic-web-app.xsd">
<wls:weblogic-version>12.1.3</wls:weblogic-version>
<wls:context-root>inho</wls:context-root>
<wls:container-descriptor>
<wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
</wls:container-descriptor>
</wls:weblogic-web-app>
I tried to deploy Web Application packed war to Oracle Java Cloud and Oracle Developer Cloud, But I met above error message.
So I tried to treat with below actions:
1) add system properties
-Dweblogic.spring.monitoring.instrumentation.disablePreClassLoader=true
If you want to how to add system properties to your managed servers, please check below link.
2) I changed deploy option in Oracle Developer Cloud with Automatic.
maven을 이용하여 ojdbc8 JDBC 추가 (set ojdbc8 jdbc library on pom.xml through maven) (0) | 2017.09.21 |
---|---|
Spring MVC 에서 javascript 를 import 하지 못하는 경우 (0) | 2016.07.19 |
Spring Mybatis CRUD example (0) | 2016.05.16 |
Spring scheduled (scheduling) 이용한 서버 모니터링 프로그램 (0) | 2014.06.11 |
Caused by: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for 문제시... (0) | 2014.05.16 |
댓글 영역