maven compilation failure

前端 未结 18 2194
不知归路
不知归路 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:44

    go to the maven repository and open the jar [tip: you can use winzip] of the source module to verify the specific class present.

    In my case it is not. Then I found below.

    if you are using the plugin org.apache.felix/maven-bundle-plugin

    Make sure source module has export-package defined

    example: com.xxx.camel.dao

提交回复
热议问题