estoy usando grails 2.5.x y quiero actualizar log4j
yo añadí
dependencies { compile group: 'org.apache.logging.log4j', name: 'log4j-1.2-api', version: '2.17.0' compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.17.0' compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.17.0' compile group: 'org.slf4j', name: 'log4j-over-slf4j', version: '1.7.32' compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.32' } grails.war.resources = { stagingDir -> delete(file:"${stagingDir}/WEB-INF/lib/log4j-1.2.17.jar") }cuando ejecuto grails run-app funciona, pero cuando creo el archivo war y lo implemento en tomcat:
Caused by: groovy.lang.GroovyRuntimeException: failed to invoke constructor: public org.apache.log4j.PatternLayout(java.lang.String) with arguments: [] reason: java.lang.IllegalArgumentException: wrong number of arguments