ssi框架搭建时的问题,出现这样的错误
Errorcreatingbeanwithname'LoginAction'definedinServletContextresource[/WEB-INF/Contex...
Error creating bean with name 'LoginAction' defined in ServletContext resource [/WEB-INF/Context-action.xml]: Cannot resolve reference to bean 'LoginService' while setting bean property 'login'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'LoginService' defined in ServletContext resource [/WEB-INF/Context-service.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.service.impl.LoginServiceImpl]: No default constructor found; nested exception is java.lang.NoSuchMethodException: com.service.impl.LoginServiceImpl.<init>()
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询