Home > Back-end >  Grain college of online education project: Maven module Springboot start package failure does not ex
Grain college of online education project: Maven module Springboot start package failure does not ex

Time:12-04

The project directory:


Service_edu to invoke service_base as dependent on package, display an error:

Refer to how to solve the
And servicebase try packaging success, all module package is successful, but service_edu

Start the failed

CodePudding user response:

Can someone answer it

CodePudding user response:

The common component MVN install so that local maven repository have common jar, can access to the service component

CodePudding user response:

refer to the second floor tianfang response:
the common component MVN install, so local maven repository have common jar, service components can access to

Install Failed, Failed to execute goal org. Springframework. The boot: spring - the boot - maven - plugin: 2.2.1. RELEASE: repackage (repackage) on project service_base: Execution repackage of goal org. Springframework. The boot: spring - the boot - maven - plugin: 2.2.1. RELEASE: repackage Failed: Unable to find the main class

CodePudding user response:

More modules packaged consult

https://blog.csdn.net/u012903926/article/details/81015499? Utm_medium=distribute. Pc_relevant_bbs_down. None - task - blog - baidujs - 2. Nonecase& Depth_1 - utm_source=distribute. Pc_relevant_bbs_down. None - task - blog - baidujs - 2. Nonecase

CodePudding user response:

According to my POM modification, all the problems solved, use https://gitee.com/dongduang/double_35_parent.git is grain college programs of shelves, and you follow the POM modification you own POM, all module can run packaging, has been tested,

CodePudding user response:

The
reference 1/f, green tree _hui response:
can someone please answer


Try the following methods, open the maven




The clean first, in the install

CodePudding user response:

Service dependence to the whole module base module
  • Related