Damn struts2.3.1.2 configuration problems

Source: Internet
Author: User

Java and SSH frameworks for beginners.

Always Prompt

Severe: Dispatcher initialization failed
Unable to load configuration.-bean-jar: file:/D:/Server/tomcat/webapps/webtestexample/WEB-INF/lib/struts2-gxp-plugin-2.3.1.2.jar! /Struts-plugin.xml: 8: 162

The example downloaded from the official struts2 website is well run, but it is 2.0 struts. It won't work if you change to 2.3.1.2 !!! It took a whole day !!! . C ++ is really not used to converting java. It is configured throughout the day, so it hurts...

Ultimate Solution: Just import the following packages. Never import all the packages under struts. What else does it mean to delete a package with plugin on the Internet !!! You can only import the following packages. If you import other packages, you are at your own risk...

Finally, I despise XXXX.

Xwork-core-2.3.1.2.jar

Commons-logging-1.1.1.jar

Freemarker-2.3.18.jar

Ognl-3.0.4.jar

Struts-core-2.3.1.2.jar

Commons-io-2.0.1.jar

Commons-fileupload-1.2.2.jar

Javassist-3.11.0.GA.jar

Commons-lang-2.5.jar

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.