SEVERE: Dispatcher initialization failed Unable to load configuration

前端 未结 3 1300
广开言路
广开言路 2021-01-06 10:13

I am developing Struts 2 application and after all I am getting following error.

SEVERE: Dispatcher initialization failed
Unable to load configuration. - be         


        
3条回答
  •  温柔的废话
    2021-01-06 11:04

    As the exception clearly states,

    Caused by: java.lang.ClassNotFoundException: freemarker.cache.TemplateLoader

    It is just a simple case of some missing jars ( freemarker in this case ).

    If this is the first time you are making a struts application, I suggest you start with the blank struts war. It is a simple deployabe war file that contains all the basic jars and resources/files that are required to deploy and run a struts2 project successfully.

    Here is the direct link to the war file.

提交回复
热议问题