#maven+mybatis 逆向工程中出现Exception getting JDBC Driver的解决方法

mysql 8.x.x

pom.xml配置:



    4.0.0

    com.qianjue.mybatis
    MyBatis_MBG
    1.0-SNAPSHOT

    
        8
        8
        UTF-8
    

    
    jar


    
        
        
            org.mybatis
            mybatis
            3.5.13
        

        
        
            junit
            junit
            4.12
            test
        

        
        
            mysql
            mysql-connector-java
            8.0.15
        


        
        
            log4j
            log4j
            1.2.17
        

    

    
    
        
        
            
            









                org.mybatis.generator
                mybatis-generator-maven-plugin
                1.3.0
                
                
                    
                    
                        org.mybatis.generator
                        mybatis-generator-core
                        1.3.2
                    
                    
                    
                        com.mchange
                        c3p0
                        0.9.2
                    
                    
                    
                        mysql
                        mysql-connector-java
                        8.0.15
                    

                
            
        
    


    

 generatorConfig.xml配置:
 






    
    






    

        
        

        

        
        
            
            
        

        
        
            
        

        
        
            
        

        
        
        
        

 

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