Spring can的书签示例';不能启动

Spring can的书签示例';不能启动,spring,Spring,我试图在Spring网站上运行示例“书签” 现在它已经被maven成功编译,但是当运行“mvn spring boot:run”时,它给出了错误: [ERROR] Failed to execute goal org.springframework.boot:spring-boot- maven-plugin:1.1.8.RELEASE:run (default-cli) on project

我试图在Spring网站上运行示例“书签” 现在它已经被maven成功编译,但是当运行“mvn spring boot:run”时,它给出了错误:

   [ERROR] Failed to execute goal org.springframework.boot:spring-boot-                                              
   maven-plugin:1.1.8.RELEASE:run (default-cli) on project bookmarks: Unable
   to find a suitable main class, please add a 'mainClass' property -> [Help       
   1]
我在tut bookmarks\rest\src\main\java\bookmarks中检查了Application.java,其中有几个注释:

@Configuration 
@ComponentScan 
@EnableAutoConfiguration
在类包含

CommandLineRunner init(AccountRepository accountRepository,BookmarkRepository bookmarkRepository) 
我还检查了其他示例,并使用了“@SpringBootApplication”。那么,有谁能解释一下区别并帮我运行书签示例吗?
谢谢。

发布POM。您可能缺少指定的属性。org.springframework.boot spring boot starter parent 1.1.8.RELEASE bookmarks bookmarks 0.0.1-SNAPSHOT pom rest security model hateoas com.jayway.jsonpath json path test org.springframework.boot spring boot starter test对不起,我不知道如何格式化XMLPost pom。您可能缺少指定的属性。org.springframework.boot spring boot starter parent 1.1.8.RELEASE bookmarks bookmarks 0.0.1-SNAPSHOT pom rest security model hateoas com.jayway.jsonpath json path test org.springframework.boot spring boot starter test抱歉,我不知道如何格式化XML