OE 12.1 Web UI application deploy to PASOE fails with defaul

Posted by george.ene on 04-Mar-2020 17:33

Hi,

Found an issue with deploy of openedge webui apps. Not sure if this is the place for such a post... maybe it will help some one else : 

If you create a new Web UI project in 12.1 and try to deploy it to PASOE the deploy will fail with error :

"Context initialization failed

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: You cannot use a spring-security-2.0.xsd or spring-security-3.0.xsd or spring-security-3.1.xsd schema or spring-security-3.2.xsd schema or spring-security-4.0.xsd schema with Spring Security 4.2. Please update your schema declarations to the 4.2 schema".

The error can be found in oemanager.log

This is caused by the folowing values in webuiSecurity.xml (4 of them in each project)

xsi:schemaLocation="www.springframework.org/.../beans www.springframework.org/.../spring-beans-4.2.xsd
www.springframework.org/.../security http://www.springframework.org/schema/security/spring-security-4.1.xsd">

To fix the error change the security version to 4.2 or the non version variant http://www.springframework.org/schema/security/spring-security.xsd.

All Replies

This thread is closed