java - JSP pages not loading on loaclhost while working with Tomcat7 on Eclipse IDE -
i working on project using java servlets , jsp. earlier project running fine, when running project, server setup jsp pages not running , others not show css applied it.
also console shows warning.
apr 19, 2016 8:24:57 pm org.apache.catalina.core.aprlifecyclelistener init info: loaded apr based apache tomcat native library 1.1.33 using apr version 1.5.2. apr 19, 2016 8:24:57 pm org.apache.catalina.core.aprlifecyclelistener init info: apr capabilities: ipv6 [true], sendfile [true], accept filters [false], random [true]. apr 19, 2016 8:24:58 pm org.apache.tomcat.util.digester.setpropertiesrule begin warning: [setpropertiesrule]{server/service/engine/host/context} setting property 'source' 'org.eclipse.jst.jee.server:tpc' did not find matching property. apr 19, 2016 8:24:58 pm org.apache.catalina.core.aprlifecyclelistener initializessl info: openssl initialized (openssl 1.0.1f 6 jan 2014) apr 19, 2016 8:24:58 pm org.apache.coyote.abstractprotocol init info: initializing protocolhandler ["http-apr-8080"] apr 19, 2016 8:24:58 pm org.apache.coyote.abstractprotocol init info: initializing protocolhandler ["ajp-apr-8009"] apr 19, 2016 8:24:58 pm org.apache.catalina.startup.catalina load info: initialization processed in 2996 ms apr 19, 2016 8:24:58 pm org.apache.catalina.core.standardservice startinternal info: starting service catalina apr 19, 2016 8:24:58 pm org.apache.catalina.core.standardengine startinternal info: starting servlet engine: apache tomcat/7.0.47 apr 19, 2016 8:25:01 pm org.apache.coyote.abstractprotocol start info: starting protocolhandler ["http-apr-8080"] apr 19, 2016 8:25:02 pm org.apache.coyote.abstractprotocol start info: starting protocolhandler ["ajp-apr-8009"] apr 19, 2016 8:25:02 pm org.apache.catalina.startup.catalina start info: server startup in 3405 ms
can check if war/ear file present in tomcat , getting deployed. if not sure, restart server after clean (deleting temp,work , logs directory). try access http://localhost:8080/ or http://localhost:8080/your_deployable_file_name
if still doesn't work check mappings in web.xml.
Comments
Post a Comment