Exception in thread "main" java.util.ServiceConfigurationError: org.apache.juli.logging.Log: Provid

本地启动jetty时报错,发现tomcat-jdbc和本地jetty冲突,原因是因为父类加载顺序出现了问题

Exception in thread "main" java.util.ServiceConfigurationError: org.apache.juli.logging.Log: Provider org.eclipse.jetty.apache.jsp.JuliLog not a subtype

解决方案:添加绿色字体那一行,


    org.eclipse.jetty
    jetty-maven-plugin
    
        
            /test
            true
        
        
            8080
        
    

Started Jetty Server

问题解决~

你可能感兴趣的:(java)