Error-Idea:Process finished with exit code 1


ylbtech-Error-Idea:Process finished with exit code 1

 

1.返回頂部
1、

log4j:WARN No appenders could be found for logger (org.springframework.boot.devtools.settings.DevToolsSettings).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/Administrator/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/Administrator/.m2/repository/org/slf4j/slf4j-log4j12/1.7.25/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
Application Version: 1.0.0
Spring Boot Version: 2.0.5.RELEASE

███████╗██╗ ██╗██╗███╗ ██╗███████╗██╗ ██╗ ██████╗ ██████╗
██╔════╝██║ ██║██║████╗ ██║██╔════╝╚██╗ ██╔╝██╔═══██╗██╔═══██╗
███████╗███████║██║██╔██╗ ██║█████╗ ╚████╔╝ ██║ ██║██║ ██║
╚════██║██╔══██║██║██║╚██╗██║██╔══╝ ╚██╔╝ ██║ ██║██║ ██║
███████║██║ ██║██║██║ ╚████║███████╗ ██║ ╚██████╔╝╚██████╔╝
╚══════╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═════╝ ╚═════╝

17:52:17.811 [restartedMain] INFO o.a.s.c.e.EhCacheManager - [getCache,158] - Cache with name 'com.shineyoo.framework.shiro.realm.UserRealm.authorizationCache' does not yet exist. Creating now.
17:52:17.817 [restartedMain] INFO o.a.s.c.e.EhCacheManager - [getCache,165] - Added EhCache named [com.shineyoo.framework.shiro.realm.UserRealm.authorizationCache]
17:52:19.950 [restartedMain] INFO o.a.s.c.e.EhCacheManager - [getCache,169] - Using existing EHCache named [loginRecordCache]
17:52:21.277 [restartedMain] INFO o.a.c.h.Http11NioProtocol - [log,180] - Initializing ProtocolHandler ["http-nio-80"]
17:52:21.296 [restartedMain] INFO o.a.c.c.StandardService - [log,180] - Starting service [Tomcat]
17:52:21.296 [restartedMain] INFO o.a.c.c.StandardEngine - [log,180] - Starting Servlet Engine: Apache Tomcat/8.5.34
17:52:21.300 [localhost-startStop-1] INFO o.a.c.c.AprLifecycleListener - [log,180] - The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jdk1.8.0_151\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\VisualSVN Server\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Users\Administrator\AppData\Local\BypassRuntm;.]
17:52:21.538 [localhost-startStop-1] INFO o.a.c.c.C.[.[.[/] - [log,180] - Initializing Spring embedded WebApplicationContext
17:52:22.454 [restartedMain] INFO c.a.d.p.DruidDataSource - [init,930] - {dataSource-1} inited
17:52:22.938 [restartedMain] INFO o.q.i.StdSchedulerFactory - [instantiate,1208] - Using default implementation for ThreadExecutor
17:52:22.957 [restartedMain] INFO o.q.c.SchedulerSignalerImpl - [<init>,61] - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
17:52:22.957 [restartedMain] INFO o.q.c.QuartzScheduler - [<init>,229] - Quartz Scheduler v.2.3.0 created.
17:52:22.970 [restartedMain] INFO o.q.c.QuartzScheduler - [initialize,294] - Scheduler meta-data: Quartz Scheduler (v2.3.0) 'nnzScheduler' with instanceId 'CN-20190525ESPU1560160342941'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 20 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.

17:52:22.971 [restartedMain] INFO o.q.i.StdSchedulerFactory - [instantiate,1362] - Quartz scheduler 'nnzScheduler' initialized from an externally provided properties instance.
17:52:22.971 [restartedMain] INFO o.q.i.StdSchedulerFactory - [instantiate,1366] - Quartz scheduler version: 2.3.0
17:52:22.975 [restartedMain] INFO o.q.c.QuartzScheduler - [setJobFactory,2287] - JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@2b16ef70
17:52:23.038 [restartedMain] DEBUG c.s.q.m.S.selectJobAll - [debug,159] - ==> Preparing: select job_id, job_name, job_group, method_name, method_params, cron_expression, misfire_policy, status, create_by, create_time, remark from sys_job
17:52:23.065 [restartedMain] DEBUG c.s.q.m.S.selectJobAll - [debug,159] - ==> Parameters:
17:52:23.101 [restartedMain] DEBUG c.s.q.m.S.selectJobAll - [debug,159] - <== Total: 1
17:52:23.163 [restartedMain] INFO o.q.c.QuartzScheduler - [shutdown,666] - Scheduler nnzScheduler_$_CN-20190525ESPU1560160342941 shutting down.
17:52:23.164 [restartedMain] INFO o.q.c.QuartzScheduler - [standby,585] - Scheduler nnzScheduler_$_CN-20190525ESPU1560160342941 paused.
17:52:23.164 [restartedMain] INFO o.q.c.QuartzScheduler - [shutdown,740] - Scheduler nnzScheduler_$_CN-20190525ESPU1560160342941 shutdown complete.
17:52:23.175 [restartedMain] INFO c.a.d.p.DruidDataSource - [close,1825] - {dataSource-1} closed
17:52:23.182 [restartedMain] INFO o.a.c.c.StandardService - [log,180] - Stopping service [Tomcat]

Process finished with exit code 1

2、
2.返回頂部
1、
Z:出現1的情況很多,比如maven版本、log4j沖突等的呢過
B:有log4j 沖突
Z:spring boot默認用的是logback
B:有一個api工程,報這個錯,但運行成功了
Z:這個主要看依賴情況
Z:如果一個工程的依賴沒有引起log4j的沖突,是不會觸發問題的
Z:只能逐一排除,當前啟動的時候,沒有任何其他堆棧的報錯是嗎?
2、
 
Z:你先與你同事確認下,tomcat、jdk、maven的版本是否都是一樣的
Z:包括spring boot的版本
Z:比如maven2和3的區別就特別大
Z:spring boot的版本,包括jdk與tomcat的版本配套使用都有一個兼容性要求

Z:我意思是你先與他們的版本保持一致試試看,你當前裝個maven2一定會死的

Z:因為2和3的機制都不一樣

3、
Z:你可以先把那個Quartz干掉試試能不能正常啟動
4、
Z:數據庫權限也沒問題?

Z:你們這些日志都是應用自己的類文件日志,也不知道具體代表什么意思

Z:現在看現象是應用初始化上下文的時候,初始化了一個定時任務,然后查了下庫,查了后就中止了

Z:初始化的時候,還加載了一個緩存,丟到ehcache了

5、
3.返回頂部
 
4.返回頂部
 
5.返回頂部
 
 
6.返回頂部
 
warn 作者:ylbtech
出處:http://ylbtech.cnblogs.com/
本文版權歸作者和博客園共有,歡迎轉載,但未經作者同意必須保留此段聲明,且在文章頁面明顯位置給出原文連接,否則保留追究法律責任的權利。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM