Spring Boot - nie odpala

0

Witam, mam sobie taka apke w spring boocie

https://github.com/hellokoding/registration-login-spring-hsql

i tak gdy odpalam przez
mvn spring:boot run to dziala

ale gdy odpalam w InteliJ aplikacje przez klase WebApplication to mam taki blad

 org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.hellokoding.auth.WebApplication]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.boot.context.web.SpringBootServletInitializer

co moze byc powodem?

0

A masz mavena?
I aplikacja cie się buduje?

0

Zmień to w pom.xml:

         <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-tomcat</artifactId>
            <!--<scope>provided</scope>-->
        </dependency>

        <dependency>
            <groupId>org.apache.tomcat.embed</groupId>
            <artifactId>tomcat-embed-jasper</artifactId>
            <!--<scope>provided</scope>-->
        </dependency>

wykomentuj scope "provided" i wystartuje.

1 użytkowników online, w tym zalogowanych: 0, gości: 1