slf4j升级到log4j2 jar版本问题

原始pom

  
  
    ${basedir}/src/main/webapp/WEB-INF/lib
    
    4.0.8.RELEASE
    5.1.1.Final
    3.2.8
    1.2.2
    1.0.11
    2.6.9
    2.0.4
    1.2.3
    2.4.2
    5.19.0.3
    1.0.4
    1.4.0

    
    1.7.7
    3.3.2
    2.4
    3.3
    1.9
    1.3.1
    1.9.1
    2.9.5
    1.9.9
    1.1.40
    1.4.7
    17.0
    5.5.1
    3.9
    2.3.20
    2.3
    1.3.0
    0.8.2.1
    1.27

    
    
    5.1.30
    10.2.0.5.0
    1.3.1

    
    1.8
    2.2
    7.6.14.v20131031
    8080
    UTF-8
    true

  
  
  
	
	
		
			jeeplat-repos
			jeeplat Repository
			http://maven.aliyun.com/nexus/content/groups/public
		
		
		
			jeeplat-restlet-repos
			jeeplat restlet Repository
			http://repo.spring.io/plugins-release
		
		
		
			jeeplat-akka-repos
			jeeplat akka Repository
			http://repo.akka.io/releases
		
		
	
	
	
	 
	
		
			jeeplat-repos
			jeeplat Repository
			http://maven.aliyun.com/nexus/content/groups/public
		
		
		
			jeeplat-restlet-repos
			jeeplat restlet Repository
			http://repo.spring.io/plugins-release
		
		
		
			jeeplat-akka-repos
			jeeplat akka Repository
			http://repo.akka.io/releases
		
		
	 

    
        om
        
            
                org.apache.maven.plugins
                maven-compiler-plugin
                3.3
                
                	UTF-8
                    ${jdk.version}
                    ${jdk.version}
                
            
            
            
                org.mortbay.jetty
                jetty-maven-plugin
                ${jetty.version}
                
                  
                  
                    
                        
                            ${webserver.port}
                        
                    
                    
                        /${project.artifactId}
                    
                    
                        
                            org.mortbay.util.URI.charset
                            ${project.build.sourceEncoding}
                        
                    
                
            
             
            
			
				org.apache.tomcat.maven
				tomcat7-maven-plugin
				2.2
				
					${webserver.port}
					UTF-8
					true
					/om
				
			
            
        
    
  
  
	
      javax
      javaee-api
      7.0
      provided
      
        
          javax.activation
          activation
        
      
    
    
            javax.servlet.jsp
            jsp-api
            2.2
            provided
        
        
      javax.servlet
      javax.servlet-api
      3.1.0
      provided
    
    
  		com.belerweb
  		pinyin4j
  		2.5.1
	
    
  		com.alibaba
  		fastjson
  		1.2.32
	
	
    
  		com.belerweb
  		pinyin4j
  		2.5.1
	
	

    
    
      javax.servlet
            servlet-api
            2.5
            provided
        
    
	
  
    
    
      org.springframework
      spring-core
      ${spring.version}
      
        
          commons-logging
          commons-logging
        
      
    
    
      org.springframework
      spring-beans
      ${spring.version}
    
    
      org.springframework
      spring-context
      ${spring.version}
    
    
      org.springframework
      spring-context-support
      ${spring.version}
    
    
      org.springframework
      spring-aop
      ${spring.version}
      
        
          commons-logging
          commons-logging
        
      
    
    
      org.springframework
      spring-tx
      ${spring.version}
    

    
    
      org.springframework
      spring-orm
      ${spring.version}
    
    
      org.springframework
      spring-jdbc
      ${spring.version}
    

    
    
      org.hibernate
      hibernate-validator
      ${validator.version}
    
    

    
    
      org.aspectj
      aspectjrt
      1.7.4
    
    
      org.aspectj
      aspectjweaver
      1.7.4
    
    
      cglib
      cglib
      3.1
    
    

    

    
    
      org.mybatis
      mybatis
      ${mybatis.version}
    
    
      org.mybatis
      mybatis-spring
      ${mybatis-spring.version}
    

    
    
      com.alibaba
      druid
      ${druid.version}
    

    
        
        
		
			com.oracle
			ojdbc14_g
			${oracle.driver.version}
			system
			${lib.path}/ojdbc14_g-${oracle.driver.version}.jar
		
        
    

    
    
      org.springframework
      spring-web
      ${spring.version}
    
    
      org.springframework
      spring-webmvc
      ${spring.version}
    
    
      org.springframework
      spring-oxm
      ${spring.version}
    
    
      opensymphony
      sitemesh
      ${sitemesh.version}
    
    
      taglibs
      standard
      1.1.2
      jar
    

    
    
      org.activiti
      activiti-engine
      ${activiti.version}
      
        
          org.springframework
          spring-beans
        
        
          com.fasterxml.jackson.core
          jackson-core
        
        
          com.fasterxml.jackson.core
          jackson-databind
        
        
          org.slf4j
          slf4j-api
        
        
          org.slf4j
          jcl-over-slf4j
        
        
          org.mybatis
          mybatis
        
        
          javax.activation
          activation
        
      
    
    
      org.activiti
      activiti-spring
      ${activiti.version}
      
        
          org.springframework
          spring-context
        
        
          org.springframework
          spring-tx
        
        
          org.springframework
          spring-orm
        
        
          org.springframework
          spring-jdbc
        
        
          org.slf4j
          slf4j-api
        
        
          org.slf4j
          jcl-over-slf4j
        
      
    
    
      org.activiti
      activiti-explorer
      ${activiti.version}
      
        
          vaadin
          com.vaadin
        
        
          dcharts-widget
          org.vaadin.addons
        
        
          activiti-simple-workflow
          org.activiti
        
        
          org.springframework
          spring-beans
        
        
          org.springframework
          spring-core
        
        
          org.springframework
          spring-web
        
        
          org.springframework
          spring-jdbc
        
        
          com.fasterxml.jackson.core
          jackson-core
        
        
          com.fasterxml.jackson.core
          jackson-databind
        
        
          org.slf4j
          slf4j-api
        
        
          org.slf4j
          slf4j-log4j12
        
        
          org.slf4j
          jcl-over-slf4j
        
        
          commons-io
          commons-io
        
      
    
    
      org.activiti
      activiti-modeler
      ${activiti.version}
      
        
          commons-io
          commons-io
        
        
          commons-logging
          commons-logging
        
        
          org.springframework
          spring-beans
        
        
          org.springframework
          spring-context
        
        
          org.springframework
          spring-core
        
        
          org.springframework
          spring-tx
        
        
          org.springframework
          spring-web
        
        
          org.springframework
          spring-webmvc
        
        
          org.springframework
          spring-expression
        
        
          org.springframework
          spring-aop
        
        
          com.fasterxml.jackson.core
          jackson-core
        
        
          com.fasterxml.jackson.core
          jackson-databind
        
      
    
    
      org.activiti
      activiti-rest
      ${activiti.version}
      
        
          org.slf4j
          slf4j-api
        
        
          org.slf4j
          jcl-over-slf4j
        
        
          org.slf4j
          slf4j-log4j12
        
        
          commons-io
          commons-io
        
        
          commons-fileupload
          commons-fileupload
        
        
          org.springframework
          spring-beans
        
        
          org.springframework
          spring-context
        
        
          org.springframework
          spring-core
        
        
          org.springframework
          spring-tx
        
        
          org.springframework
          spring-web
        
        
          org.springframework
          spring-webmvc
        
        
          org.springframework.security
          spring-security-core
        
      
    
    
      org.activiti
      activiti-common-rest
      ${activiti.version}
    
    
      org.activiti
      activiti-diagram-rest
      ${activiti.version}
      
        
          org.springframework
          spring-beans
        
        
          org.springframework
          spring-context
        
        
          org.springframework
          spring-core
        
        
          org.springframework
          spring-tx
        
        
          org.springframework
          spring-web
        
        
          org.springframework
          spring-webmvc
        
      
    

    
    

    

    
      javax.servlet
      jstl
      1.2
      jar
    
    

    
    
      net.sf.ehcache
      ehcache-core
      ${ehcache.version}
      
        
          org.slf4j
          slf4j-api
        
      
    
    
      net.sf.ehcache
      ehcache-web
      ${ehcache-web.version}
      
        
          net.sf.ehcache
          ehcache-core
        
      
    
    
      redis.clients
      jedis
      2.9.0
    
    

    
    
      org.apache.shiro
      shiro-core
      ${shiro.version}
      
        
          org.slf4j
          slf4j-api
        
        
          commons-beanutils
          commons-beanutils
        
      
    
    
      org.apache.shiro
      shiro-spring
      ${shiro.version}
    
    
      org.apache.shiro
      shiro-cas
      ${shiro.version}
      
        
          commons-logging
          commons-logging
        
      
    
    
      org.apache.shiro
      shiro-web
      ${shiro.version}
    
    
      org.apache.shiro
      shiro-ehcache
      ${shiro.version}
      
        
          net.sf.ehcache
          ehcache-core
        
      
    
    


    
    
      org.slf4j
      slf4j-api
      ${slf4j.version}
    
    
      org.slf4j
      slf4j-log4j12
      ${slf4j.version}
    
    
    
      org.slf4j
      jcl-over-slf4j
      ${slf4j.version}
    
    
    
      org.slf4j
      jul-to-slf4j
      ${slf4j.version}
    
    

    
    
      org.apache.commons
      commons-lang3
      ${commons-lang3.version}
    
    
      commons-io
      commons-io
      ${commons-io.version}
    
    
    	commons-net
    	commons-net
    	${commons-net.version}
	
    
      commons-codec
      commons-codec
      ${commons-codec.version}
    
    
      commons-fileupload
      commons-fileupload
      ${commons-fileupload.version}
      
        
          commons-io
          commons-io
        
      
    
    
      commons-beanutils
      commons-beanutils
      ${commons-beanutils.version}
      
        
          commons-logging
          commons-logging
        
      
    
    
     
    
	    org.csource
	    fastdfs-client-java
	    1.27
	

    
    
      com.google.guava
      guava
      ${guava.version}
    

    
    
      com.fasterxml.jackson.core
      jackson-core
      ${jackson.version}
    
    
      com.fasterxml.jackson.core
      jackson-databind
      ${jackson.version}
    
    
      com.fasterxml.jackson.core
      jackson-annotations
      ${jackson.version}
    
    
      com.fasterxml.jackson.module
      jackson-module-jaxb-annotations
      ${jackson.version}
    
	
    	org.codehaus.jackson
    	jackson-mapper-asl
    	${jackson-asl.version}
	
    

    
    
      com.thoughtworks.xstream
      xstream
      ${xstream.version}
    

    
    
      net.sf.dozer
      dozer
      ${dozer.version}
      
        
          org.apache.commons
          commons-lang3
        
        
          org.slf4j
          slf4j-api
        
        
          org.slf4j
          jcl-over-slf4j
        
      
    

    
    
      org.freemarker
      freemarker
      ${freemarker.version}
    

    
    
      javax.mail
      mail
      1.4.7
      
        
          javax.activation
          activation
        
      
    
    
      javax.activation
      activation
      1.1.1
    

    
    
      org.apache.poi
      poi
      ${poi.version}
      
        
          commons-codec
          commons-codec
        
      
    
    
      org.apache.poi
      poi-ooxml
      ${poi.version}
      
        
          xml-apis
          xml-apis
        
      
    
    
      org.apache.poi
      poi-ooxml-schemas
      ${poi.version}
    

    
    
      com.drewnoakes
      metadata-extractor
      2.6.2
      
        
          xml-apis
          xml-apis
        
      
    

    
    
      com.google.zxing
      core
      2.2
    
    
      com.google.zxing
      javase
      2.2
    

    
      batik
      batik-util
      1.6-1
      ${lib.path}/batik-util-1.7.jar
      system
    

    
    
      org.wltea
      analyzer
      2012_u6
      ${lib.path}/analyzer-2012_u6.jar
      system
    
    

    
    
      net.coobird
      thumbnailator
      0.4.2
    
    
      com.ckfinder
      apache-ant-zip
      ${ckfinder.version}
      ${lib.path}/apache-ant-zip-2.3.jar
      system
    
    
      com.ckfinder
      ckfinder
      ${ckfinder.version}
      ${lib.path}/ckfinder-2.3.jar
      system
    
    
      com.ckfinder
      ckfinderplugin-fileeditor
      ${ckfinder.version}
      ${lib.path}/ckfinderplugin-fileeditor-2.3.jar
      
      system
    
    
      com.ckfinder
      ckfinderplugin-imageresize
      ${ckfinder.version}
      ${lib.path}/ckfinderplugin-imageresize-2.3.jar
      
      system
    
    
    
	
	    net.sf.ezmorph
	    ezmorph
	    ${ezmorph.version}
	

    
    
      junit
      junit
      4.11
    
    
      org.springframework
      spring-test
      ${spring.version}
    
    
    
      eu.bitwalker
      UserAgentUtils
      1.20
    

    
    
      org.java-websocket
      Java-WebSocket
      ${websocket.version}
    
    
      org.fusesource
      sigar
      1.6.4
      
        
          log4j
          log4j
        
      
    

    
    
      org.apache.httpcomponents
      httpcore
      4.4.4
    

    
    
      org.apache.httpcomponents
      httpclient
      4.5.2
    
    
      QRCoder
      QRCoder
      1.0
      ${lib.path}/QRCode.jar
      system
    

    
    
      com.github.abel533
      ECharts
      2.2.7
    

    
    
      com.google.code.gson
      gson
      2.6.2
    

    
    
      org.apache.commons
      commons-email
      1.4
      
        
          com.sun.mail
          javax.mail
        
      
    

	
	
	    com.yammer.metrics
	    metrics-core
	    2.2.0
	
	
	
	    org.apache.neethi
	    neethi
	    3.0.2
	
	
	
	    org.nutz
	    nutz
	    1.b.52
	
	
	
	    org.scala-lang
	    scala-library
	    2.10.4
	
	
	
	    wsdl4j
	    wsdl4j
	    1.6.2
	
	
	
	    org.apache.ws.xmlschema
	    xmlschema-core
	    2.0.2
	

    
		com.xuxueli
		xxl-job-core
		1.9.0
	

        
            com.github.qiuxiaoj
            ueditor
            1.1.1
        
        
        
            org.json
            json
            20170516
        
        
    
        com.lowagie
        itext
        2.0.8
    
    
      com.ctrip.framework.apollo
      apollo-client
      ${apollo.version}
    

    
      com.netflix.feign
      feign-core
      8.18.0
    

    
      com.netflix.feign
      feign-jackson
      8.18.0
    

    
      com.netflix.feign
      feign-ribbon
      8.18.0
    

    
    
      io.github.openfeign
      feign-httpclient
      10.2.3
    

    
      com.netflix.archaius
      archaius-core
      0.7.4
    

    
      io.github.lukehutch
      fast-classpath-scanner
      2.18.1
    

    
      org.projectlombok
      lombok
      1.16.14
    

    
      org.redisson
      redisson
      3.12.0
    

  

升级到log4j2的时候遇到了jar包版本的不兼容具体修改地方为一下代码

1.8.0-beta4


      org.apache.logging.log4j
      log4j-api
      2.17.1
    
    
      org.apache.logging.log4j
      log4j-core
      2.17.1
    
    
      org.apache.logging.log4j
      log4j-slf4j18-impl
      2.17.1
    

你可能感兴趣的:(jar,maven,java)