springboot项目引入hadoop-client包导致内置tomcat无法启动和日志jar冲突问题

移除相应jar包依赖
启动类加上这句话
System.out.println("----------------------" + GunsApplication.class.getResource("/com/google/common/collect/FluentIterable.class"));

 
            org.apache.hadoop
            hadoop-client
            2.7.7
            
                
                    org.slf4j
                    slf4j-log4j12
                
                
                    org.slf4j
                    log4j-over-slf4j
                
                
                    jsp-api
                    javax.servlet.jsp
                
                
                    servlet-api
                    javax.servlet
                
                
                    com.google.guava
                    guava
                
            
        
        
            org.apache.hbase
            hbase-client
            1.1.1
            
                
                    org.slf4j
                    log4j-over-slf4j
                
                
                    org.slf4j
                    slf4j-log4j12
                
                
                    com.google.guava
                    guava
                
            
        

你可能感兴趣的:(大数据)