Line: 220-com/opensymphony/xwork2/spring/springobjectfactory. Java: 220:-1

Source: Internet
Author: User

Severe: exception starting filter struts2
Class: COM. opensymphony. xwork2.spring. springobjectfactory
File: springobjectfactory. Java
Method: getclassinstance
Line: 220-com/opensymphony/xwork2/spring/springobjectfactory. Java: 220:-1
At org. Apache. struts2.dispatcher. Dispatcher. INIT (dispatcher. Java: 437)
At org. Apache. struts2.dispatcher. filterdispatcher. INIT (filterdispatcher. Java: 195)
At org. Apache. Catalina. Core. applicationfilterconfig. getfilter (applicationfilterconfig. Java: 275)
At org. Apache. Catalina. Core. applicationfilterconfig. setfilterdef (applicationfilterconfig. Java: 397)
At org. Apache. Catalina. Core. applicationfilterconfig. <init> (applicationfilterconfig. Java: 108)
At org. Apache. Catalina. Core. standardcontext. filterstart (standardcontext. Java: 3709)
At org. Apache. Catalina. Core. standardcontext. Start (standardcontext. Java: 4356)
At org. Apache. Catalina. Core. containerbase. addchildinternal (containerbase. Java: 791)
At org. Apache. Catalina. Core. containerbase. addchild (containerbase. Java: 771)
At org. Apache. Catalina. Core. standardhost. addchild (standardhost. Java: 525)
At org. Apache. Catalina. startup. hostconfig. deploydescriptor (hostconfig. Java: 626)
At org. Apache. Catalina. startup. hostconfig. deploydescriptors (hostconfig. Java: 553)
At org. Apache. Catalina. startup. hostconfig. deployapps (hostconfig. Java: 488)
At org. Apache. Catalina. startup. hostconfig. Check (hostconfig. Java: 1215)
At org. Apache. Catalina. startup. hostconfig. lifecycleevent (hostconfig. Java: 293)
At org. Apache. Catalina. util. lifecyclesupport. firelifecycleevent (lifecyclesupport. Java: 117)
At org. Apache. Catalina. Core. containerbase. backgroundprocess (containerbase. Java: 1337)
At org. Apache. Catalina. Core. containerbase $ containerbackgroundprocessor. processchil.pdf (containerbase. Java: 1601)
At org. Apache. Catalina. Core. containerbase $ containerbackgroundprocessor. processchil.pdf (containerbase. Java: 1610)
At org. Apache. Catalina. Core. containerbase $ containerbackgroundprocessor. Run (containerbase. Java: 1590)
At java. Lang. thread. Run (unknown source)
Caused by: Java. Lang. nullpointerexception
At com. opensymphony. xwork2.spring. springobjectfactory. getclassinstance (springobjectfactory. Java: 220)
At com. opensymphony. xwork2.config. providers. xmlconfigurationprovider. verifyresulttype (xmlconfigurationprovider. Java: 530)
At com. opensymphony. xwork2.config. providers. xmlconfigurationprovider. addresulttypes (xmlconfigurationprovider. Java: 501)
At com. opensymphony. xwork2.config. providers. xmlconfigurationprovider. addpackage (xmlconfigurationprovider. Java: 457)
At com. opensymphony. xwork2.config. providers. xmlconfigurationprovider. loadpackages (xmlconfigurationprovider. Java: 275)
At org. Apache. struts2.config. strutsxmlconfigurationprovider. loadpackages (strutsxmlconfigurationprovider. Java: 111)
At com. opensymphony. xwork2.config. impl. defaultconfiguration. reloadcontainer (defaultconfiguration. Java: 204)
At com. opensymphony. xwork2.config. configurationmanager. getconfiguration (configurationmanager. Java: 66)
At org. Apache. struts2.dispatcher. Dispatcher. init_preloadconfiguration (dispatcher. Java: 380)
At org. Apache. struts2.dispatcher. Dispatcher. INIT (dispatcher. Java: 424)
... 20 more
2011-8-28 1:19:47 org. Apache. Catalina. Core. standardcontext start
Severe: Error filterstart
2011-8-28 1:19:47 org. Apache. Catalina. Core. standardcontext start
Severe: context [] startup failed due to previous errors

 

Cause and solution:

Do not introduce the package: struts2-spring-plugin-2.2.3.jar.

That's simple.

When this jar package exists, No matter you use spring, it will go to the spring-related content to start the spring container. If there is no spring-related content, this error will be reported.

Related Article

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.