The invention relates to the technical field of
computer software, and aims to solve the problem that multiple engines cannot adapt to different scenes through automatic configuration under a SpringBoot framework. The method for rapidly switching the program underlying network engine based on the SpringBoot framework comprises the steps that an operation project and a packaging project are separated, the packaging project is completed through a user-defined starting entry class, a user-defined
Layout layout manager and a customized ClassLoader, and rapid switching of the underlying network engine is completed by using the user-defined
Layout layout manager. According to the scheme, through dynamic dependence management during operation, multiple versions do not need to be pre-packaged or codes do not need to be modified, zero-cost switching of the network engine is achieved, the requirement for rapid
adaptation of engines at home and abroad with a certain difference is met, and storage and maintenance expenses of multi-version packaging are avoided.