Springside4 Start Error

Source: Internet
Author: User

severity: Exception sending context initialized event to listener instance of class Org.springframework.web.context.Context Loaderlistener
Org.springframework.beans.factory.BeanCreationException:Error creating Bean with Name ' shirofilter ' defined in URL [ file:/d:/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/flowers/web-inf/ Classes/applicationcontext-shiro.xml]: Cannot resolve reference to beans ' securitymanager ' while setting beans property ' SE Curitymanager '; Nested exception is org.springframework.beans.factory.BeanCreationException:Error creating beans with Name ' SecurityManager ' defined in URL [file:/d:/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/flowers/web-inf/ Classes/Applicationcontext-shiro. XML]: Cannot resolve reference to beans ' shirodbrealm ' while setting beans property ' realm '; Nested exception is org.springframework.beans.factory.BeanCreationException:Error creating beans with Name ' Shirodbrealm ': Injection of autowired dependencies failed; Nested exception is org.springframework.beans.factory.BeanCreationException


very wonderful wood has, the first thought is that the XML configuration is wrong? Navigate tod:/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/flowers/web-inf/ Classes/Applicationcontext-shiro. XML, the discovery configuration file exists, then it isConfiguration information in securitymanager configuration error, or SecurityManager,shirodbrealm related classes have problems ... But the configuration does not seem to be wrong. At least this S . Hirodbrealm is the Springside example comes with, the demo run is no problem, there should be no error, then why the class can not be loaded?? This is not a class is not written or class is not compiled into a class file Ah! try the following to compile the project:


Run again, start successfully!

December 30, 2014 1:56:45 pm org.apache.catalina.core.ApplicationContext Log info: Initializing Spring frameworkservlet ' Springservlet ' December 30, 2014 1:56:46 pm org.apache.coyote.AbstractProtocol start Info: Starting Protocolhandler [" Http-nio-80 "] December 30, 2014 1:56:46 pm org.apache.coyote.AbstractProtocol start Info: Starting Protocolhandler [" http-nio-8080 "] December 30, 2014 1:56:46 pm org.apache.coyote.AbstractProtocol start Info: Starting Protocolhandler [" ajp-nio-8009 "] December 30, 2014 1:56:46 pm Org.apache.catalina.startup.Catalina Start info: Server Startup in 13171 MS
PS: When Eclipse wrote the code too, it turned off the auto-compile option:



Springside4 Start Error

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.