新建Maven项目添加springboot依赖报错"Project build error: 'dependencies.dependency.version' for org.springframewo"

楼主在新学SpringBoot框架,是个小白一枚,在新建Maven项目时,添加springboot依赖时出现个编译错误"Project build error: 'dependencies.dependency.version' for org.springframewo",该提示是说添加该依赖没有version,只要添加SpringBoot的parent配置就行了.


        org.springframework.boot
        spring-boot-starter-parent
        1.4.2.RELEASE
         

dependencies里这样配置:


        
            org.springframework.boot
            spring-boot-starter-web
        

        
            org.springframework.boot
            spring-boot-starter-test
            test
        
    

你可能感兴趣的:(新建Maven项目添加springboot依赖报错"Project build error: 'dependencies.dependency.version' for org.springframewo")