java - org.springframework.boot.SpringApplication can not be resolved -


i trying run web-service server standalone application using spring-boot (1.2.4.release). have refereed tutorial provided here spring site.

but in application unable locate org.springframework.boot.springapplication class in of apis of spring boot.

below pom.xml file using this:

<parent>     <groupid>org.springframework.boot</groupid>     <artifactid>spring-boot-starter-parent</artifactid>     <version>1.2.4.release</version> </parent> <dependencies>     <dependency>         <groupid>org.springframework.boot</groupid>         <artifactid>spring-boot</artifactid>     </dependency>     <dependency>         <groupid>org.springframework.boot</groupid>         <artifactid>spring-boot-starter-web</artifactid>     </dependency> </dependencies>  <build>     <plugins>         <plugin>             <groupid>org.springframework.boot</groupid>             <artifactid>spring-boot-maven-plugin</artifactid>         </plugin>     </plugins> </build> 

can me find out wrong in this.

i got working. after using mvn clean install has started working.

initial not showing spring-boot-1.2.5.release.jar(to springapplication class belong) in project dependencies. after running above command dependency got added , working fine.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -