Never forget a .jar again!!

xiaoxiao2022-06-12  30

After adding Hibernate and Spring capability to the project, and all the configuration files(web.xml, applicationContext.xml) being well configged, one problem should be taken attention to, though it is a piece of cake. Yep, just a piece of cake, but i missed it and problem happened.

Never forget to import the jar file which is named: struts2-spring-plugin-2.1.6.jar.

without this, "struts.xml" fails to load configuration, and throws exception.

转载请注明原文地址: https://www.6miu.com/read-4932744.html

最新回复(0)