Jetty에 Tomcat의 EXIT_ON_INIT_FAILURE가 있습니까? (Spring Bean 초기화시) IllegalArgumentException을 던지는 전쟁이 있지만 Jetty는 DeploymentManager (노드 목표에 도달 할 수 없습니다 : 시작됨)에서 WARN 만 인쇄하고 정상적으로 (물론 컨텍스트없이) 시작됩니다. 나는 옵션을 시도 :독립 실행 형 서버의 EXIT_ON_INIT_FAILURE
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">{context_path}</Set>
<Set name="throwUnavailableOnStartupException">true</Set>
<Set name="war">{war_path}</Set>
<Set name="maxFormContentSize">10485760</Set>
</Configure>
결과가 없습니다. 부두에서
로그 :이 구성되는 방법 어떤 조언에 미리
2017-03-16 21:45:05.798:WARN:oejd.DeploymentManager:main: Unable to reach node goal: started
java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'intranetClient' defined in class path resource
{...stacktrace...}
2017-03-16 21:45:05.836:INFO:oejs.AbstractConnector:main: Started [email protected]{HTTP/1.1,[http/1.1]}{0.0.0.0:5070}
2017-03-16 21:45:05.840:INFO:oejs.AbstractConnector:main: Started [email protected]{HTTP/1.1,[http/1.1]}{0.0.0.0:5075}
2017-03-16 21:45:05.841:INFO:oejs.Server:main: Started @40994ms
감사합니다.
해결책을 찾았습니까? – quintin