上下文初始化期间遇到异常-取消刷新

时间:2019-07-05 05:13:37

标签: spring-boot

    I am unable to run a spring boot application in JBOSS.
    Steps I have tried are:
    ->Build project
    ->Update maven project
    ->Maven install
    ->Run-maven generate sources
    ->Run-Java Application





<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
       <modelVersion>4.0.0</modelVersion>
       <parent> </parent>

</project>

错误消息

SpringApplication: Application startup failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'Login': Unsatisfied dependency expressed through field 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginService' defined in file

0 个答案:

没有答案