Because there are no subprojects reporting errors, the parent project can be packaged successfully.
<modules> <module>wego-common</module> <module>wego-meta</module> <!--<module>wego-product</module>--> <module>wego-rbac</module> <!--<module>wego-order</module>--> <!--<module>wego-comment</module>--> </modules>
Note: The parent project must be declared through the parent tag in the subproject
<parent> <groupId>com.wego</groupId> <artifactId>wego</artifactId> <version>1.0.0</version> </parent>
At this time, because no sub-project reports an error, the parent project can also be packaged successfully
<modules> <module>wego-common</module> <module>wego-meta</module> <module>wego-product</module> <module>wego-rbac</module> <module>wego-order</module> <module>wego-comment</module> </modules>
If there are multiple sub-projects If the packaging is unsuccessful, then repeat the above steps until successful
The above is the detailed content of Springboot code is correct but packaging error cannot be found. How to solve the problem?. For more information, please follow other related articles on the PHP Chinese website!