Caused by: java.lang.NoSuchMethodError: freemarker.template.Configuration.(Lfreemarker/templat

类似错误:


Caused by: java.lang.NoSuchMethodError: freemarker.template.Configuration.(Lfreemarker/template/Version;)V
        at org.springframework.ui.freemarker.FreeMarkerConfigurationFactory.newConfiguration(FreeMarkerConfigurationFactory.java:320)
        at org.springframework.ui.freemarker.FreeMarkerConfigurationFactory.createConfiguration(FreeMarkerConfigurationFactory.java:250)
        at org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer.afterPropertiesSet(FreeMarkerConfigurer.java:114)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
        ... 58 more


spring-mvc.xml:

找不到文件(freemarker.properties):

 
         
   
 

你可能感兴趣的:(异常)