Java server manually - jar can run the project, but the following problems with company Jenkins deployment, solving,
Use ps - ef | grep Java check project is already started, and occupy the port ,
Log_info. An error in the log:
Error starting ApplicationContext. To display the the conditions report re - run your application with 'debug' enabled.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Log_error. An error in the log:
Org. Springframework. Beans. Factory. BeanDefinitionStoreException: Failed to process the import candidates for the configuration class [com. Sintecho. Chiron. ChironApplication]; Nested exception is Java. Lang. An IllegalStateException: The following classes could not be excluded because they are not auto - configuration classes:
- com. Sintecho. Chiron. ChironApplication
The at org. Springframework. Context. The annotation. ConfigurationClassParser. ProcessDeferredImportSelectors (ConfigurationClassParser. Java: 556)
The at org. Springframework. Context. The annotation. ConfigurationClassParser. Parse (ConfigurationClassParser. Java: 184)
The at org. Springframework. Context. The annotation. ConfigurationClassPostProcessor. ProcessConfigBeanDefinitions (ConfigurationClassPostProcessor. Java: 316)
The at org. Springframework. Context. The annotation. ConfigurationClassPostProcessor. PostProcessBeanDefinitionRegistry (ConfigurationClassPostProcessor. Java: 233)
The at org. Springframework. Context. Support. PostProcessorRegistrationDelegate. InvokeBeanDefinitionRegistryPostProcessors (PostProcessorRegistrationDelegate. Java: 273)
The at org. Springframework. Context. Support. PostProcessorRegistrationDelegate. InvokeBeanFactoryPostProcessors (PostProcessorRegistrationDelegate. Java: 93)
The at org. Springframework. Context. Support. AbstractApplicationContext. InvokeBeanFactoryPostProcessors (AbstractApplicationContext. Java: 693)
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 531)
The at org. Springframework. Boot. Web. Servlet. Context. ServletWebServerApplicationContext. Refresh (ServletWebServerApplicationContext. Java: 140)
The at org. Springframework. Boot. SpringApplication. Refresh (SpringApplication. Java: 752)
The at org. Springframework. Boot. SpringApplication. RefreshContext (SpringApplication. Java: 388)
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 327)
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 1246)
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 1234)
At com. Sintecho. Chiron. ChironApplication. Main (31) ChironApplication. Java:
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (498) Method. The Java:
The at org. Springframework. Boot. Loader. MainMethodRunner. Run (MainMethodRunner. Java: 48)
The at org. Springframework. Boot. Loader. The Launcher. Launch (87). The Launcher Java:
At org. Springframework. Boot. Loader. The Launcher. The launch (the Launcher. Java: 50)
The at org. Springframework. Boot. Loader. JarLauncher. Main (JarLauncher. Java: 51)
Under Caused by: Java. Lang. An IllegalStateException: The following classes could not be excluded because they are not auto - configuration classes:
- com. Sintecho. Chiron. ChironApplication
The at org. Springframework. Boot. Autoconfigure. AutoConfigurationImportSelector. HandleInvalidExcludes (AutoConfigurationImportSelector. Java: 198)
The at org. Springframework. Boot. Autoconfigure. AutoConfigurationImportSelector. CheckExcludedClasses (AutoConfigurationImportSelector. Java: 183)
The at org. Springframework. Boot. Autoconfigure. AutoConfigurationImportSelector. SelectImports (AutoConfigurationImportSelector. Java: 100)
The at org. Springframework. Context. The annotation. ConfigurationClassParser. ProcessDeferredImportSelectors (ConfigurationClassParser. Java: 547)
. 22 common frames omitted