May 21, 2013 3:44:07 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
May 21, 2013 3:44:07 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
May 21, 2013 3:44:08 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)
May 21, 2013 3:44:08 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8080"]
May 21, 2013 3:44:08 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
May 21, 2013 3:44:08 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1591 ms
May 21, 2013 3:44:08 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
May 21, 2013 3:44:08 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.39
May 21, 2013 3:44:08 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory D:\Tomcat\webapps\docs
May 21, 2013 3:44:08 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory D:\Tomcat\webapps\examples
May 21, 2013 3:44:08 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
May 21, 2013 3:44:08 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
May 21, 2013 3:44:08 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@1ce3a26')
May 21, 2013 3:44:08 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory D:\Tomcat\webapps\host-manager
May 21, 2013 3:44:08 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory D:\Tomcat\webapps\lmsportal-admin
May 21, 2013 3:44:14 PM org.apache.catalina.core.ApplicationContext log
INFO: **No Spring WebApplicationInitializer types detected on classpath**
May 21, 2013 3:44:14 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory D:\Tomcat\webapps\manager
May 21, 2013 3:44:14 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory D:\Tomcat\webapps\ROOT
May 21, 2013 3:44:14 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-8080"]
May 21, 2013 3:44:14 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-apr-8009"]
May 21, 2013 3:44:14 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 6429 ms
当我在Chrome上浏览localhost jsp文件时,它显示“ Directory Listing For
/”,有时确实显示了文件树。我在myeclipse上运行tomcat服务器时收到此错误,有关此错误如何发生的一些信息将不胜感激。
这是我的web.xml
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd“ version =” 3.0“>
<welcome-file-list>
<welcome-file>/WEB-INF/page/index.jsp</welcome-file>
</welcome-file-list>
<error-page>
<error-code>404</error-code>
<location>/WEB-INF/page/error/404.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/WEB-INF/page/error/404.jsp</location>
</error-page>
<!-- <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:applicationContext-security.xml</param-value>
</context-param> -->
<servlet>
<servlet-name>lmsadmin</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:lms-admin.xml </param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>loadRun</servlet-name>
<servlet-class>com.telecom.lms.portal.admin.service.LoadRunServlet</servlet-class>
<load-on-startup>3</load-on-startup>
</servlet>
<servlet>
<servlet-name>ctu-resource-agent</servlet-name>
<servlet-class>com.myctu.platform.resource.agent.CTUResourceAgentServlet</servlet-class>
<!-- 下载地址 -->
<init-param>
<param-name>resource_proxy</param-name>
<param-value>http://180.168.60.15:15320/resource-proxy</param-value>
</init-param>
<!-- 商户标识 -->
<init-param>
<param-name>domain</param-name>
<param-value>telecom</param-value>
</init-param>
<!-- 签名过期时间,单位毫秒 -->
<init-param>
<param-name>expire</param-name>
<param-value>86400000</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>ctu-resource-agent</servlet-name>
<url-pattern>/ctu-resource-agent</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>lmsadmin</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
<filter>
<filter-name>encoding</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>encoding</filter-name>
<url-pattern>*.html</url-pattern>
</filter-mapping>
<!-- 单点登录 start -->
<filter>
<filter-name>CAS Filter</filter-name>
<filter-class>edu.yale.its.tp.cas.client.filter.CASFilter1</filter-class>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
<param-value>https://cas.demo.myctu.cn/cas/login</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
<param-value>https://cas.demo.myctu.cn/cas/serviceValidate</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
<param-value>localhost:8080</param-value>
</init-param>
<init-param>
<param-name>excludes</param-name>
<param-value>*.jpg,*.png,*.js,*.css</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>CAS Filter</filter-name>
<url-pattern>*.html</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>LogoutServlet</servlet-name>
<servlet-class>com.telecom.ctu.platform.cas.LogoutServlet</servlet-class>
<init-param>
<param-name>edu.yale.its.tp.cas.client.servlet.logout</param-name>
<param-value> https://cas.demo.myctu.cn/cas/logout </param-value>
</init-param>
<init-param>
<param-name>service</param-name>
<param-value>http://localhost:8089/lmscore-service</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>LogoutServlet</servlet-name>
<url-pattern>/logout</url-pattern>
</servlet-mapping>
<!-- 单点登录 end -->
<!-- wabacus start -->
<filter>
<filter-name>Encoding</filter-name>
<filter-class>com.wabacusdemo.util.SetCharacterEncodingFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Encoding</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Encoding</filter-name>
<url-pattern>*.wx</url-pattern>
</filter-mapping>
<listener>
<listener-class>com.wabacus.WabacusServlet</listener-class>
</listener>
<servlet>
<servlet-name>reportservlet</servlet-name>
<servlet-class>com.wabacus.WabacusServlet</servlet-class>
<init-param>
<param-name>configpath</param-name>
<param-value>classpath{/reportconfig}</param-value>
</init-param>
<load-on-startup>20</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>reportservlet</servlet-name>
<url-pattern>/ShowReport.wx</url-pattern>
</servlet-mapping>
<jsp-config>
<taglib>
<taglib-uri>wabacus</taglib-uri>
<taglib-location>/WEB-INF/wabacus.tld</taglib-location>
</taglib>
</jsp-config>
<mime-mapping>
<extension>xls</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
<mime-mapping>
<extension>xlsx</extension>
<mime-type>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</mime-type>
</mime-mapping>
<!-- wabacus end -->
<filter>
<!-- 此名字需要在应用内保证唯一,名字作为产出的监控报表的唯一标识,每一个监控表唯一对应一个名字 -->
<!-- 请将此fileter至于其他filter的最前面,保证监控数据的有效性 -->
<filter-name>WebappStatistics</filter-name>
<filter-class>com.telecom.ctu.platform.common.monitor.WebappStatistics</filter-class>
<init-param>
<param-name>name</param-name>
<param-value>controller.statistics</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>WebappStatistics</filter-name>
<url-pattern>*.html</url-pattern>
</filter-mapping>
我将WebROOT文件目录添加到默认目录中,问题已解决。
属性-> MyEclipse->部署程序集->添加
问题内容: 我正在尝试在JBoss7.1.1服务器中部署我的项目。但是我得到的信息不足,我的项目没有得到部署。 我正在使用Spring 3.1.1 Release jars。提前致谢。 问题答案: 在典型的servlet应用程序中,您将有一个描述符文件来声明应用程序的服务,过滤器,侦听器,上下文参数,安全性配置等。从Servlet 3.0开始,您可以通过编程方式完成大多数操作。 Servlet 3
问题内容: 当我从eclipse部署时,我有一个spring项目在我的tomcat7服务器上运行良好:运行方式>>在服务器上运行。在eclipse标签的“服务器”中,我看到: 我的项目: 不使用web.xml,我使用javaconf @批注。 不使用Maven,我使用用户库 我看到该项目在: 而且,我还看到以下文件夹:conf,logs,temp,webapps,work,wtpwebapps 我
在本地,我通常会成功地将这个war部署到Wildfly,但尝试Tomcat并得到错误。 20-jun-2016 02:12:3.827信息[localhost-startStop-1]org.apache.catalina.core.applicationContext.log在类路径上未检测到Spring WebApplicationInitializer类型 20-jun-2016 02:12
我从腻子那里得到了这个错误消息: 错误:在类路径上未检测到 Spring WebApplication 初始化程序类型。 当我使用eclipse和maven部署WAR文件时。现在我使用的是jre 1.8和tomcat版本7。我检查了编译器,它的版本是1.8。这个问题有什么解决方案吗?我还自动启用了选项构建。 这是我从腻子那里得到的错误信息 2017年1月17日17:50:03.587信息[main
我正在使用 Gradle 作为构建工具,在部署过程中,我遇到了一些我在下面提到的问题。 Gradle构建任务没有问题,但当我在tomcat8上部署它时,它显示如下错误。 build.gradle依赖文件如下: 错误消息: