Cannot find org.springframework.util.ClassUtils.getMethod and could not initialize DefaultConversionService

后端 未结 1 1258
不思量自难忘°
不思量自难忘° 2021-01-28 22:02

Once I run my application it shows following error in the console. I studied this question but its answer was not helpful.



        
1条回答
  •  北海茫月
    2021-01-28 22:53

    As I expected the problem was with the dependencies. I could solve the issue by updating my pom.xml and cleaning the project.

    pom.xml

    
        4.0.0
        Spring2
        Spring2
        0.0.1-SNAPSHOT
        Spring2
    
    
        http://maven.apache.org
        
            4.1.5.RELEASE
        
    
    
        
            
                org.springframework
                spring-core
                ${spring.version}
            
    
            
                org.springframework
                spring-web
                ${spring.version}
            
    
            
                org.springframework
                spring-webmvc
                ${spring.version}
            
    
            
                junit
                junit
                4.0
                test
            
        
    
    
    

    0 讨论(0)
提交回复
热议问题