0
디버그 모드에서 jsf 응용 프로그램을 시작하려고하는데 작동하지 않습니다. 코드를 수정 한 다음 작동을 멈췄습니다. 나는이 변경 사항을 내 친구에게 보냈고 정상적으로 작동합니다.디버그 모드의 시작 서버가 Eclipse에서 작동하지 않습니다.
여기 로그입니다 :
07/07/2014 16:48:51 org.apache.catalina.core.AprLifecycleListener init
INFO: 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\jre6\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\apache-maven-2.2.1\bin;C:\Program Files\Java\jdk1.6.0_45\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Java\jre6\;.
07/07/2014 16:48:51 org.apache.tomcat.util.digester.SetPropertiesRule begin
AVISO: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '5' did not find a matching property.
07/07/2014 16:48:51 org.apache.tomcat.util.digester.SetPropertiesRule begin
AVISO: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:solis_web' did not find a matching property.
07/07/2014 16:48:51 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
07/07/2014 16:48:51 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 612 ms
07/07/2014 16:48:51 com.mchange.v2.log.MLog <clinit>
INFO: MLog clients using java 1.4+ standard logging.
07/07/2014 16:48:51 com.mchange.v2.c3p0.C3P0Registry banner
INFO: Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
07/07/2014 16:48:51 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
07/07/2014 16:48:51 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
07/07/2014 16:48:52 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\Users\jvmartins\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\solis_web\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
07/07/2014 16:48:52 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/apache-tomcat-6.0.26/shared/lib/slf4j-log4j12-1.7.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/jvmartins/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/solis_web/WEB-INF/lib/slf4j-log4j12-1.7.2.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 [org.slf4j.impl.Log4jLoggerFactory]
하지만 일반적으로 서버를 시작하려고하면, 그것은 작동합니다. 나는 프로젝트와 아파치 서버를 모두 지우려고했으나 도움이되지 못했다.
이 로그는 아무 것도 말하지 않습니다. 내가 생각할 수있는 유일한 것은 이클립스가 애플리케이션을 서버에 적절하게 전개하지 못한다는 것이다. 그러나 그것은 주어진 증상을 설명하는 것처럼 보이지 않습니다. –
흠 ... 전에 같은 로그를 받았지만 서버가 디버그 모드에서 시작될 수 있습니다 ... 무슨 일이 일어 났는지 모르겠습니다 ... 제 동료가 프로젝트를 삭제하고 다시 다운로드 할 것이라고 말했습니다. svn .... 어쩌면 그것은 도움이 될 것입니다 ... –
그런 극단적 인 해결책이 필요하다고 생각하지 마십시오. 프로젝트의 * .project * 폴더 나 그와 비슷한 파일에서 뭔가를 변경했는지 확인하십시오. –