tomcat启动异常 Error configuring application listener 10C

**项目是dubbo+zookeeper+SSM+redis+Maven的,seivice和web分层,service启动没问题,web放进tomcat启动报错

**
**这是console

**

 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
八月 30, 2018 11:28:00 上午 org.apache.catalina.startup.TldConfig execute
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
八月 30, 2018 11:28:00 上午 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
八月 30, 2018 11:28:00 上午 org.apache.catalina.core.StandardContext listenerStart
严重: Error configuring application listener of class com.cityparlor.web.listener.WebContextListener
java.lang.ClassNotFoundException: com.cityparlor.web.listener.WebContextListener
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1858)
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1701)
    at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:504)
    at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:486)
    at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4984)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1572)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1562)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

八月 30, 2018 11:28:00 上午 org.apache.catalina.core.StandardContext listenerStart
严重: Skipped installing application listeners due to previous error(s)
八月 30, 2018 11:28:00 上午 org.apache.catalina.core.StandardContext startInternal
严重: One or more listeners failed to start. Full details will be found in the appropriate container log file
八月 30, 2018 11:28:00 上午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/cityparlor-web] startup failed due to previous errors
八月 30, 2018 11:28:00 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
八月 30, 2018 11:28:00 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
八月 30, 2018 11:28:00 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 11804 ms

**这是我的com.cityparlor.web.listener.WebContextListener

**

 package com.cityparlor.web.listener;

import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.context.ContextLoaderListener;
import org.springframework.web.context.WebApplicationContext;

import com.cityparlor.service.collect.CollectEnrollService;

public class WebContextListener extends ContextLoaderListener {
    @Autowired
    private CollectEnrollService collectEnrollService;
    public WebApplicationContext initWebApplicationContext(ServletContext servletContext) {
        System.out.println("cityparlor project start......");       
        return super.initWebApplicationContext(servletContext);
    }

    public void contextInitialized(ServletContextEvent event) { 
        //ServletContext context = event.getServletContext(); 
        super.contextInitialized(event); 

        System.out.println("cityparlor project initialized ...............");
    }
}

#在线等# 求大佬

2个回答

应该是类没找到,你可以写个servlet,在servlet中手动用Class.forName("com.cityparlor.web.listener.WebContextListener");看看能不能加载。
如果不能加载你手动将WebContextListener.class拷贝到WEB-INF\class下,按包名创建相应的目录最终将WebContextListener.class文件放进去,重启tomcat再试试。
再者检查WebContextListener所依赖的类是否存在jar包没导入的情况

zhaomin_g
_zming 回复qq_34465759: 这个类WebContextListener是项目自己写的?位于哪个jar包中,jar包又放在了tomcat的哪个位置?
接近 2 年之前 回复
qq_34465759
程序猿-小李 您好,请问WebContextListener.class文件我在哪找,从哪copy到哪?能具体点吗,我没太懂。jar包都有,maven本地仓库,文件都不报错
接近 2 年之前 回复

Error configuring application listener of class com.cityparlor.web.listener.WebContextListener
看报错这句,说是application的配置文件里会加载WebContextListener,但是找不到这个依赖包。

右键项目-》Properties-》add-》选Java Builld Path Enteires-》Next-》Maven Dependencies-》Finish-》OK

然后Clean项目,重启试试

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Python+OpenCV计算机视觉

Python+OpenCV计算机视觉

Error configuring application listener ······

我是新安装的Eclipse,maven插件都已经安装好。导入maven项目报如下错误? 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4618) at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5184) at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5179) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 八月 30, 2017 2:11:56 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Skipped installing application listeners due to previous error(s) 八月 30, 2017 2:11:56 下午 org.apache.catalina.core.StandardContext startInternal 严重: Error listenerStart 八月 30, 2017 2:11:56 下午 org.apache.catalina.core.StandardContext startInternal 严重: Context [/web] startup failed due to previous errors 八月 30, 2017 2:11:56 下午 org.apache.coyote.AbstractProtocolHandler start 信息: Starting ProtocolHandler ["http-bio-8081"] 八月 30, 2017 2:11:56 下午 org.apache.coyote.AbstractProtocolHandler start 信息: Starting ProtocolHandler ["ajp-bio-8009"] 八月 30, 2017 2:11:56 下午 org.apache.catalina.startup.Catalina start 信息: Server startup in 845 ms

启动Tomcat时报错~~~~~~~~~~

严重: Error configuring application listener of class com.cyyz.soms.web.action.admin.SessionListener java.lang.ClassNotFoundException: com.cyyz.soms.web.action.admin.SessionListener at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1891) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1734) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:504) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:486) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5015) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5615) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662)

tomcat启动报错:找不到EopSessionListener,请问有没有人遇到过,如何解

信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 四月 12, 2019 3:49:22 下午 org.apache.catalina.core.ApplicationContext log 信息: No Spring WebApplicationInitializer types detected on classpath 四月 12, 2019 3:49:22 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Error configuring application listener of class com.enation.eop.sdk.listener.EopSessionListener java.lang.ClassNotFoundException: com.enation.eop.sdk.listener.EopSessionListener at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:495) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:477) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5034) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 四月 12, 2019 3:49:22 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Error configuring application listener of class com.enation.eop.sdk.listener.EopContextLoaderListener java.lang.ClassNotFoundException: com.enation.eop.sdk.listener.EopContextLoaderListener at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:495) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:477) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5034) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 四月 12, 2019 3:49:22 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Skipped installing application listeners due to previous error(s) 四月 12, 2019 3:49:22 下午 org.apache.catalina.core.StandardContext startInternal 严重: One or more listeners failed to start. Full details will be found in the appropriate container log file 四月 12, 2019 3:49:22 下午 org.apache.catalina.core.StandardContext startInternal 严重: Context [/b2b2c] startup failed due to previous errors 四月 12, 2019 3:49:22 下午 org.apache.coyote.AbstractProtocol start

tomcat启动报错,求大虾帮忙

2017-3-29 15:48:20 org.apache.catalina.core.ApplicationContext log 信息: Set web app root system property: 'TDHyidongService.root' = [C:\Users\Administrator\workspace\TDHyidongService\WebContent\] 2017-3-29 15:48:20 org.apache.catalina.core.ApplicationContext log 信息: Initializing Log4J from [C:\Users\Administrator\workspace\TDHyidongService\WebContent\WEB-INF\config\log4j.properties] 2017-3-29 15:48:20 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext 2017-3-29 15:48:22 org.apache.catalina.core.ApplicationContext log 信息: Set web app root system property: 'fgtService.root' = [C:\Users\Administrator\workspace\fgtService\WebContent\] 2017-3-29 15:48:22 org.apache.catalina.core.ApplicationContext log 信息: Initializing Log4J from [C:\Users\Administrator\workspace\fgtService\WebContent\WEB-INF\config\log4j.properties] 2017-3-29 15:48:22 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext 2017-3-29 15:48:29 org.apache.catalina.core.StandardContext listenerStart 严重: Error configuring application listener of class tdh.core.WebInitContextListener java.lang.Error: Unresolved compilation problems: The import javax.servlet.ServletContextEvent cannot be resolved The import javax.servlet.ServletContextListener cannot be resolved ServletContextListener cannot be resolved to a type ServletContextEvent cannot be resolved to a type ServletContextEvent cannot be resolved to a type at tdh.core.WebInitContextListener.<init>(WebInitContextListener.java:3) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:357) at java.lang.Class.newInstance(Class.java:310) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4150) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

tomcat启动报错,大神们帮忙分析分析

严重: Error configuring application listener of class org.springframework.web.context.request.RequestContextListener java.lang.ClassNotFoundException: org.springframework.web.context.request.RequestContextListener at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:495) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:477) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5034) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

项目是拷同事的,在同事那启动正常,到了我这启动就报了classnotfound

我们对比了一下,都是tomcat6的,jdk也都是1.6,我就会报各种ClassNotFound ``` 信息: validateJarFile(E:\apache-tomcat-6.0.36\webapps\SSO\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 2015-9-16 17:54:11 org.apache.catalina.core.StandardContext listenerStart 严重: Error configuring application listener of class net.bull.javamelody.SessionListener java.lang.ClassNotFoundException: net.bull.javamelody.SessionListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) ``` ``` Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener ``` ``` Error configuring application listener of class cn.com.asideal.sso.web.FlushMemcached java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext ``` 还有很多其他的ClassNotFound

netbeans启动tomcat失败

用netbeans启动tomcat,显示启动失败,cataline.bat里面的引号已经删掉了 ![图片说明](https://img-ask.csdn.net/upload/201607/08/1467950510_226280.png)

Android Studio的项目运行时报错:Error configuring CMake server

# 问题背景 我在跟着csdn上的一个教程尝试用Android Studio(3.4.1) 做一个变声器的app项目,fmod的so库都导入进项目的libs了 ,build.gradle和cmakelist.txt也都按照那个教程配置了。 [AS制作变声器](https://blog.csdn.net/a_thousand_miles/article/details/81150906 "") 后来报错说不支持armeabi,网上查了下发现NDK17以上都不 支持了,遂下载了ndk16b替换之前的ndk17,ndk的location 也都改过了,然后终于build成功,开心。 但是插上usb准备在手机上运行测试下的时候,出现这个报错 ,Google了也没解决掉。报错:Error configuring CMake server (E:\Android\Sdk\cmake\3.10.2.4988404\bin). ![图片说明](https://img-ask.csdn.net/upload/201909/29/1569748738_97421.png) ** 有大佬知道怎么回事儿吗?** ###代码(build.gradle) ``` apply plugin: 'com.android.application' android { compileSdkVersion 29 buildToolsVersion "29.0.2" defaultConfig { applicationId "com.example.qq_voicechanger01" minSdkVersion 15 targetSdkVersion 29 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" externalNativeBuild { cmake { cppFlags "" abiFilters 'armeabi','x86' } } //编译平台 ndk{ abiFilters "armeabi","x86" } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } externalNativeBuild { cmake { path "src/main/cpp/CMakeLists.txt" version "3.10.2" } } //目录 sourceSets.main{ jniLibs.srcDirs = ['libs'] jni.srcDirs = [] } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test:runner:1.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' } ``` ###代码(cmakelist.txt) ``` cmake_minimum_required(VERSION 3.4.1) find_library(log-lib log ) set(my_lib_path ${CMAKE_SOURECE_DIR}/libs) #添加第三方的so库 add_library( libfomd SHARED IMPORTED) #指明第三方so库的绝对路径 set_target_properties( libfmod PROPERTIES IMPORTED_LOCATION ${my_lib_path}/${ANDROID_ABI}/libfmod.so ) add_library( libfmodL SHARED IMPORTED ) set_target_properties( libfmodL PROPERTIES IMPORTED_LOCATION ${my_lib_path}/${ANDROID_ABI}/libfmodL.so ) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11") #添加我们需要编译的cpp绝对路径 add_library( changeVoice SHARED src/main/cpp/play_sound.cpp src/main/cpp/common.cpp src/main/cpp/common_platform.cpp ) #导入路径,使编译时能找到这个文件夹 include_directories(src/main/cpp/inc) #连接好三个路径 target_link_libraries( changeVoice libfmod libfmodL ${log-lib} ) ```

新人求教tomcat启动报错的一些问题

十二月 16, 2016 5:31:16 下午 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deploying configuration descriptor E:\briup1\apache-tomcat-7.0.65-windows-x64\apache-tomcat-7.0.65\conf\Catalina\localhost\bicycleRent1.xml 十二月 16, 2016 5:31:16 下午 org.apache.catalina.startup.HostConfig deployDescriptor 警告: A docBase E:\briup1\apache-tomcat-7.0.65-windows-x64\apache-tomcat-7.0.65\webapps\bicycleRent1 inside the host appBase has been specified, and will be ignored 这是最开始启动的警告 我在tomcat中的service.xml中 Context docBase="bicycleRent1" path="/bicycleRent1" reloadable="true" source="org.eclipse.jst.jee.server:bicycleRent1" 把path的路径换成了绝对路径E:/briup1/apache-tomcat-7.0.65-windows-x64/apache-tomcat-7.0.65/webapps/bicycleRent1 重启后这个警告消失了,个人认为这是‘/’所代表的路径的问题不知道'/'代表什么。 下面是个错误:十二月 16, 2016 5:34:23 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 我已经把这个jar加入webConent中的lib了,buildpath中也能找到,虽然把jar包放进tomcat的lib中能解决,但是我想是想请教大神,弄清楚是怎么回事

项目启动报错,求解,求解释

严重: Error configuring application listener of class com.thinkgem.jeesite.modules.sys.listener.WebContextListener java.lang.ClassNotFoundException: com.thinkgem.jeesite.modules.sys.listener.WebContextListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)

tomcat启动时报错,这个问题是怎么回事

2017-11-01 10:31:02,032 WARN [springframework.web.context.support.XmlWebApplicationContext] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.support.ScheduledMethodRunnable#1': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.scheduling.support.ScheduledMethodRunnable]: Constructor threw exception; nested exception is java.lang.NoSuchMethodException: com.thinkgem.jeesite.appInterface.task.TaskService$$EnhancerBySpringCGLIB$$a364d7cf.getMessage() 2017-11-01 10:31:02,063 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.support.ScheduledMethodRunnable#1': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.scheduling.support.ScheduledMethodRunnable]: Constructor threw exception; nested exception is java.lang.NoSuchMethodException: com.thinkgem.jeesite.appInterface.task.TaskService$$EnhancerBySpringCGLIB$$a364d7cf.getMessage() at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1137) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1040) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:434) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at com.thinkgem.jeesite.modules.sys.listener.WebContextListener.initWebApplicationContext(WebContextListener.java:16) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5068) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1572) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1562) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.scheduling.support.ScheduledMethodRunnable]: Constructor threw exception; nested exception is java.lang.NoSuchMethodException: com.thinkgem.jeesite.appInterface.task.TaskService$$EnhancerBySpringCGLIB$$a364d7cf.getMessage() at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267) ... 24 more Caused by: java.lang.NoSuchMethodException: com.thinkgem.jeesite.appInterface.task.TaskService$$EnhancerBySpringCGLIB$$a364d7cf.getMessage() at java.lang.Class.getMethod(Unknown Source) at org.springframework.scheduling.support.ScheduledMethodRunnable.<init>(ScheduledMethodRunnable.java:48) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147) ... 26 more

IDEA用Maven的Spring集成的Tomcat启动后报错

``` 六月 04, 2020 4:57:47 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-9101"] 六月 04, 2020 4:57:47 下午 org.apache.catalina.core.StandardService startInternal 信息: Starting service Tomcat 六月 04, 2020 4:57:47 下午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.47 六月 04, 2020 4:57:48 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:142) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4854) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 六月 04, 2020 4:57:48 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Skipped installing application listeners due to previous error(s) 六月 04, 2020 4:57:48 下午 org.apache.catalina.core.StandardContext startInternal 严重: Error listenerStart 六月 04, 2020 4:57:48 下午 org.apache.catalina.core.StandardContext startInternal 严重: Context [] startup failed due to previous errors 六月 04, 2020 4:57:48 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-9101"] ``` 从maven-Plugins-tomcat7-tomcat7:run启动的 IDEA2020.1 maven3.5.2 jdk1.8 IDEA右键没有 properties![图片说明](https://img-ask.csdn.net/upload/202006/04/1591262663_357460.png) 求大佬帮助

等。。。。急。。。tomcat启动报错

信息: validateJarFile(E:\briup\servlet\apache-tomcat-7.0.57\webapps\jiuye\WEB-INF\lib\javaee.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class 四月 14, 2017 4:17:15 下午 org.apache.tomcat.util.digester.Digester fatalError 严重: Parse Fatal Error at line 7 column 3: 文档中根元素后面的标记必须格式正确。 org.xml.sax.SAXParseException; systemId: jndi:/localhost/jiuye/WEB-INF/web.xml; lineNumber: 7; columnNumber: 3; 文档中根元素后面的标记必须格式正确。 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1437) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$TrailingMiscDriver.next(XMLDocumentScannerImpl.java:1400) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561) at org.apache.catalina.startup.ContextConfig.parseWebXml(ContextConfig.java:1825) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1263) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5380) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 四月 14, 2017 4:17:15 下午 org.apache.catalina.startup.ContextConfig parseWebXml 严重: Parse error in application web.xml file at jndi:/localhost/jiuye/WEB-INF/web.xml org.xml.sax.SAXParseException; systemId: jndi:/localhost/jiuye/WEB-INF/web.xml; lineNumber: 7; columnNumber: 3; 文档中根元素后面的标记必须格式正确。 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1437) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$TrailingMiscDriver.next(XMLDocumentScannerImpl.java:1400) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561) at org.apache.catalina.startup.ContextConfig.parseWebXml(ContextConfig.java:1825) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1263) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5380) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 四月 14, 2017 4:17:15 下午 org.apache.catalina.startup.ContextConfig parseWebXml 严重: Occurred at line 7 column 3 四月 14, 2017 4:17:15 下午 org.apache.catalina.startup.ContextConfig configureStart 严重: Marking this application unavailable due to previous error(s) 四月 14, 2017 4:17:15 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.fckeditor.net is already defined 四月 14, 2017 4:17:15 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://www.springframework.org/tags/form is already defined 四月 14, 2017 4:17:15 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://www.springframework.org/tags is already defined 四月 14, 2017 4:17:15 下午 org.apache.catalina.core.StandardContext startInternal 严重: Error getConfigured 四月 14, 2017 4:17:15 下午 org.apache.catalina.util.SessionIdGenerator createSecureRandom 信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [129] milliseconds. 四月 14, 2017 4:17:15 下午 org.apache.catalina.core.StandardContext startInternal 严重: Context [/jiuye] startup failed due to previous errors 四月 14, 2017 4:17:15 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\docs 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\docs has finished in 293 ms 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\examples 四月 14, 2017 4:17:16 下午 org.apache.catalina.core.ApplicationContext log 信息: ContextListener: contextInitialized() 四月 14, 2017 4:17:16 下午 org.apache.catalina.core.ApplicationContext log 信息: SessionListener: contextInitialized() 四月 14, 2017 4:17:16 下午 org.apache.catalina.core.ApplicationContext log 信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@6b52df69') 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\examples has finished in 627 ms 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\host-manager 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\host-manager has finished in 82 ms 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\manager 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\manager has finished in 75 ms 四月 14, 2017 4:17:16 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\ROOT 四月 14, 2017 4:17:17 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory E:\briup\servlet\apache-tomcat-7.0.57\webapps\ROOT has finished in 55 ms 四月 14, 2017 4:17:17 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-8082"] 四月 14, 2017 4:17:17 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-bio-8009"] 四月 14, 2017 4:17:17 下午 org.apache.catalina.startup.Catalina start 信息: Server startup in 3790 ms

请教:Tomcat启动报错(急)!!!!!!!!!报错信息如下,工程有Maven

严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/csm]] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:801) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/csm]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) ... 6 more Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2583) at java.lang.Class.getDeclaredFields(Class.java:1916) at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106) at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:263) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:92) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:65) at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:407) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:883) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:378) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5343) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 6 more Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547) ... 20 more 一月 19, 2018 2:58:22 下午 org.apache.catalina.core.ContainerBase startInternal 严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.startup.Catalina.start(Catalina.java:690) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:801) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 6 more 一月 19, 2018 2:58:22 下午 org.apache.catalina.startup.Catalina start 严重: The required Server component failed to start so Tomcat is unable to start. org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.startup.Catalina.start(Catalina.java:690) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 7 more Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 9 more Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 11 more

tomcat启动之后出现这个问题

严重: Error configuring application listener of class com.thinkgem.jeesite.modules.sys.listener.WebContextListener java.lang.ClassNotFoundException: com.thinkgem.jeesite.modules.sys.listener.WebContextListener at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:495) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:477) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5026) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5633) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1009) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:985) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:712) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:2002) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

严重: Error listenerStart

高手们 这错误 在我本机就不报,在服务器上报的这错! 原先报过这样的错误,后来我更改servletapi.jar包 由2.4改成了2.3 现在又报这错误, [code="java"] 2010-1-19 14:47:59 org.apache.catalina.core.AprLifecycleListener init 信息: The Apache Tomcat Native library which allows optimal performance in produ ction environments was not found on the java.library.path: E:\Java\jdk1.6.0_10\b in;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32; C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Too ls\BINN;E:\Java\jdk1.6.0_10\bin;E:\dll 2010-1-19 14:47:59 org.apache.coyote.http11.Http11Protocol init 信息: Initializing Coyote HTTP/1.1 on http-8080 2010-1-19 14:47:59 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 746 ms 2010-1-19 14:47:59 org.apache.catalina.core.StandardService start 信息: Starting service Catalina 2010-1-19 14:47:59 org.apache.catalina.core.StandardEngine start 信息: Starting Servlet Engine: Apache Tomcat/6.0.14 2010-1-19 14:47:59 org.apache.catalina.loader.WebappClassLoader validateJarFile 信息: validateJarFile(E:\Java\tomcat\webapps\voiceSearch\WEB-INF\lib\servletapi- 2.3.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 2010-1-19 14:48:00 org.apache.catalina.core.StandardContext start 严重: Error listenerStart 2010-1-19 14:48:00 org.apache.catalina.core.StandardContext start 严重: Context [/voiceSearch] startup failed due to previous errors 2010-1-19 14:48:00 org.apache.coyote.http11.Http11Protocol start 信息: Starting Coyote HTTP/1.1 on http-8080 2010-1-19 14:48:00 org.apache.jk.common.ChannelSocket init 信息: JK: ajp13 listening on /0.0.0.0:8009 2010-1-19 14:48:00 org.apache.jk.server.JkMain start 信息: Jk running ID=0 time=0/31 config=null 2010-1-19 14:48:00 org.apache.catalina.startup.Catalina start 信息: Server startup in 1427 ms [/code]

tomcat启动时报错,希望能帮帮我谢谢

九月 09, 2016 12:34:23 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 信息: Loaded APR based Apache Tomcat Native library 1.2.7 using APR version 1.5.2. 九月 09, 2016 12:34:23 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 九月 09, 2016 12:34:24 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL 信息: OpenSSL successfully initialized (OpenSSL 1.0.2h 3 May 2016) 九月 09, 2016 12:34:24 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-apr-8080"] 九月 09, 2016 12:34:24 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-apr-8009"] 九月 09, 2016 12:34:24 下午 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 1698 ms 九月 09, 2016 12:34:24 下午 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 九月 09, 2016 12:34:24 下午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/8.0.36 九月 09, 2016 12:34:25 下午 org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom 信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [111] milliseconds. 九月 09, 2016 12:34:25 下午 org.apache.jasper.servlet.TldScanner scanJars 信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 九月 09, 2016 12:34:25 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1332) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1166) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:518) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:499) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4764) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 九月 09, 2016 12:34:25 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Error configuring application listener of class ict.monitor.collection.service.ServiceStartServletListener java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager at ict.monitor.collection.DefaultCollection.<clinit>(DefaultCollection.java:16) at ict.monitor.collection.service.ServiceStartServletListener.<init>(ServiceStartServletListener.java:14) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:379) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:119) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4764) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.LogManager at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1332) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1166) ... 17 more 九月 09, 2016 12:34:25 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Skipped installing application listeners due to previous error(s) 九月 09, 2016 12:34:25 下午 org.apache.catalina.core.StandardContext startInternal 严重: One or more listeners failed to start. Full details will be found in the appropriate container log file 九月 09, 2016 12:34:25 下午 org.apache.catalina.core.StandardContext startInternal 严重: Context [/stewardweb] startup failed due to previous errors 九月 09, 2016 12:34:25 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 警告: The web application [stewardweb] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.lang.Object.wait(Native Method) java.lang.Object.wait(Object.java:503) java.util.TimerThread.mainLoop(Timer.java:526) java.util.TimerThread.run(Timer.java:505) 九月 09, 2016 12:34:25 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-apr-8080"] 九月 09, 2016 12:34:25 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-apr-8009"] 九月 09, 2016 12:34:25 下午 org.apache.catalina.startup.Catalina start 信息: Server startup in 1127 ms 这是我从别人那引入的工程,导入后出现上面错误,用的是eclipse,自动导入了好多jar包,请问我这个是什么错误,我自己导入了一个log4j-1.2.17.jar

liferay5.23 +tomcat 配置启动也出错

我描述一下过程 已安装 Jikes ant. 下载liferay5.23 的src,然后通过ant 输入命令:ant clean start build-ext 然后编译生成ext文件夹,然后在 ext文件夹里 输入命令:ant clean deploy 把ext文件夹 部署到 已有的tomcat6.20中 启动tomcat... 遇到问题了: [code="java"] 2009-6-17 12:09:49 org.apache.catalina.core.StandardContext listenerStart 严重: Error configuring application listener of class com.liferay.portal.kernel.servlet.TunnelContextListener java.lang.ClassNotFoundException: com.liferay.portal.kernel.servlet.TunnelContextListener (略) 严重: Skipped installing application listeners due to previous error(s) 2009-6-17 12:09:49 org.apache.catalina.core.StandardContext start 严重: Error listenerStart 2009-6-17 12:09:50 org.apache.catalina.core.StandardContext listenerStart 严重: Error configuring application listener of class com.liferay.portal.spring.context.PortalContextLoaderListener java.lang.NoClassDefFoundError: com/liferay/portal/kernel/bean/BeanLocator (略) [/code] 从这里,就不知道缺少了哪些类包,而且也不知道是哪些类包,应该放哪. PS:整个过程,除了修改生产文件的位置,没有其他改动. 在这里向各位高手请教了!先谢谢各位 [b]问题补充:[/b] 的确lovewhzlq的回答里的第一点,是问题的关键,之前我copy ext里的jar到外面,就会出现第二点的问题, 现在改了配置,就有这个报错,但不导致出错 [code="java"]13:31:13,953 ERROR [JDBCExceptionReporter:101] failed batch 13:31:13,953 ERROR [JDBCExceptionReporter:101] failed batch 13:31:16,328 ERROR [JDBCExceptionReporter:101] failed batch[/code] [b]问题补充:[/b] [code="java"] 13:40:16,828 ERROR [ErrorLogger:2156] Job (DEFAULT.com.liferay.counter.service.persistence.ConnectionHeartbeatJob@8215406 threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Java heap space] at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529) Caused by: java.lang.OutOfMemoryError: Java heap space (略) [/code] [b]问题补充:[/b] [color=red]增加了JAVA_OPTS的环境变量,的确是好了[/color]但总有种治标不治本的感觉.也没人继续看这个帖子了...哎哎

Eclipse启动Tomcat的时候报错:ClassNotFoundException,题目写不开了

详细报错如下: 严重: Error configuring application listener of class org.framework.web.system.listener.InitListener java.lang.ClassNotFoundException: org.framework.web.system.listener.InitListener at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:520) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:501) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:120) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4660) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5181) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 一月 08, 2016 7:08:52 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Error configuring application listener of class org.framework.web.system.listener.OnlineListener java.lang.ClassNotFoundException: org.framework.web.system.listener.OnlineListener at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:520) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:501) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:120) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4660) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5181) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 这个错误我以前也碰到过,Clean一下就可以了,但是这次怎么clean都不管用了,还请大奖能帮我看看,谢谢!

2019 Python开发者日-培训

2019 Python开发者日-培训

150讲轻松搞定Python网络爬虫

150讲轻松搞定Python网络爬虫

设计模式(JAVA语言实现)--20种设计模式附带源码

设计模式(JAVA语言实现)--20种设计模式附带源码

YOLOv3目标检测实战:训练自己的数据集

YOLOv3目标检测实战:训练自己的数据集

java后台+微信小程序 实现完整的点餐系统

java后台+微信小程序 实现完整的点餐系统

三个项目玩转深度学习(附1G源码)

三个项目玩转深度学习(附1G源码)

初级玩转Linux+Ubuntu(嵌入式开发基础课程)

初级玩转Linux+Ubuntu(嵌入式开发基础课程)

2019 AI开发者大会

2019 AI开发者大会

玩转Linux:常用命令实例指南

玩转Linux:常用命令实例指南

一学即懂的计算机视觉(第一季)

一学即懂的计算机视觉(第一季)

4小时玩转微信小程序——基础入门与微信支付实战

4小时玩转微信小程序——基础入门与微信支付实战

Git 实用技巧

Git 实用技巧

Python数据清洗实战入门

Python数据清洗实战入门

使用TensorFlow+keras快速构建图像分类模型

使用TensorFlow+keras快速构建图像分类模型

实用主义学Python(小白也容易上手的Python实用案例)

实用主义学Python(小白也容易上手的Python实用案例)

程序员的算法通关课:知己知彼(第一季)

程序员的算法通关课:知己知彼(第一季)

MySQL数据库从入门到实战应用

MySQL数据库从入门到实战应用

机器学习初学者必会的案例精讲

机器学习初学者必会的案例精讲

手把手实现Java图书管理系统(附源码)

手把手实现Java图书管理系统(附源码)

极简JAVA学习营第四期(报名以后加助教微信:eduxy-1)

极简JAVA学习营第四期(报名以后加助教微信:eduxy-1)

.net core快速开发框架

.net core快速开发框架

玩转Python-Python3基础入门

玩转Python-Python3基础入门

Python数据挖掘简易入门

Python数据挖掘简易入门

微信公众平台开发入门

微信公众平台开发入门

程序员的兼职技能课

程序员的兼职技能课

Windows版YOLOv4目标检测实战:训练自己的数据集

Windows版YOLOv4目标检测实战:训练自己的数据集

HoloLens2开发入门教程

HoloLens2开发入门教程

微信小程序开发实战

微信小程序开发实战

Java8零基础入门视频教程

Java8零基础入门视频教程

相关热词 c# cad插入影像 c#设计思想 c#正则表达式 转换 c#form复制 c#写web c# 柱形图 c# wcf 服务库 c#应用程序管理器 c#数组如何赋值给数组 c#序列化应用目的博客园
立即提问