Error Configuring application Listener of Class Com.conbaoweb.ContextInit

Source: Internet
Author: User

One. Error message:

2015-7-1 9:15:25 Org.apache.catalina.core.ApplicationContext Log
Info: No Spring webapplicationinitializer types detected on Classpath
2015-7-1 9:15:25 Org.apache.catalina.core.StandardContext Listenerstart
severity: Error Configuring Application Listener of Class Com.conbaoweb.ContextInit
Java.lang.ClassNotFoundException:com.conbaoweb.ContextInit

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.addChildInternal (containerbase.java:901)
At Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:877)
At Org.apache.catalina.core.StandardHost.addChild (standardhost.java:633)
At Org.apache.catalina.startup.HostConfig.deployDirectory (hostconfig.java:1120)
At Org.apache.catalina.startup.hostconfig$deploydirectory.run (hostconfig.java:1678)
At Java.util.concurrent.executors$runnableadapter.call (executors.java:441)
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:886)
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:908)
At Java.lang.Thread.run (thread.java:619)
2015-7-1 9:15:25 Org.apache.catalina.core.StandardContext Listenerstart
Severity: Skipped installing application listeners due to previous error (s)
2015-7-1 9:15:25 Org.apache.catalina.core.StandardContext startinternal
Severity: Error Listenerstart
2015-7-1 9:15:25 Org.apache.catalina.core.StandardContext startinternal
Severity: Context [/conbaoweb] startup failed due to previous errors
2015-7-1 9:15:25 Org.apache.catalina.startup.HostConfig deploydirectory
Info: Deploying Web application Directory E:\tomact\apache-tomcat-7.0.47\webapps\conbaoweb.myeclipse.bak

_______________________________________________________________________________________________________________ __________________
Two. Solution:

① the whole June did not enter the MyEclipse, completely did not control the project, the first day of July directly launched the project, this error occurred. After looking for a half-day solution on the Internet, the code of the same group of small partners was copied directly ...

② later after the project->clear, the problem arose again.

So I realized that this problem must be extermination, and the symptom should be a cure.

There are generally two types of solutions available online:

a) your Web. xml file is indeed wrong.

b) Re-introduce the Spring-web jar package. Project Right-click->bulid path->libraries to reintroduce this package.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Error Configuring application Listener of Class Com.conbaoweb.ContextInit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.