Why isn't Drools working with Java 8?

后端 未结 5 418
悲&欢浪女
悲&欢浪女 2020-12-17 10:02

I just installed the final version of Java 8. When I try to build my project with Maven, many tests fail if I use Java 8, but pass fine with Java 7. I\'ve tried running it

5条回答
  •  太阳男子
    2020-12-17 10:54

    I have solved this issue by edit pom in maven.

        
            org.eclipse.jdt.core.compiler
            ecj
            4.5.1
        
    
        
        
            org.drools
            drools-core
            5.5.0.Final
        
        
            org.drools
            drools-compiler
            5.5.0.Final
            
                
                    org.eclipse.jdt.core.compiler
                    ecj
                
            
        
    

提交回复
热议问题