maven compilation failure

前端 未结 18 2144
不知归路
不知归路 2020-12-07 17:57

I have a weird problem - Some class file couldn\'t be read during maven build.

  1. I have a project A and project B.
  2. Project
18条回答
  •  时光说笑
    2020-12-07 18:26

    After running following command:- mvn clean package install

    I found the issue:
    'dependencies.dependency.scope' for org.springframework.boot:spring-boot-starter-data-rest:pom must be one of [provided, compile, runtime, test, system] but is 'import'. @ line 13, column 11

    One of the dependency was marked as 'import'. Changing the 'scope' solved the issue for me.

提交回复
热议问题