java - tomcat not deploying correctly -


having problem deploying application worked fine tomcat not able deploy .it's maven restful web application using jersey framework .the following error occurs when trying deploy application.

    @ org.glassfish.jersey.server.internal.monitoring.compositeapplicationeventlistener.onevent(compositeapplicationeventlistener.java:73) @ org.glassfish.jersey.server.applicationhandler.initialize(applicationhandler.java:445) @ org.glassfish.jersey.server.applicationhandler.access$500(applicationhandler.java:163) @ org.glassfish.jersey.server.applicationhandler$3.run(applicationhandler.java:323) @ org.glassfish.jersey.internal.errors$2.call(errors.java:289) @ org.glassfish.jersey.internal.errors$2.call(errors.java:286) @ org.glassfish.jersey.internal.errors.process(errors.java:315) @ org.glassfish.jersey.internal.errors.process(errors.java:297) @ org.glassfish.jersey.internal.errors.processwithexception(errors.java:286) @ org.glassfish.jersey.server.applicationhandler.<init>(applicationhandler.java:320) @ org.glassfish.jersey.server.applicationhandler.<init>(applicationhandler.java:285) @ org.glassfish.jersey.servlet.webcomponent.<init>(webcomponent.java:311) @ org.glassfish.jersey.servlet.servletcontainer.init(servletcontainer.java:170) @ org.glassfish.jersey.servlet.servletcontainer.init(servletcontainer.java:358) @ javax.servlet.genericservlet.init(genericservlet.java:158) @ org.apache.catalina.core.standardwrapper.initservlet(standardwrapper.java:1231) @ org.apache.catalina.core.standardwrapper.loadservlet(standardwrapper.java:1144) @ org.apache.catalina.core.standardwrapper.load(standardwrapper.java:1031) @ org.apache.catalina.core.standardcontext.loadonstartup(standardcontext.java:4914) @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5201) @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150) @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1408) @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1398) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:745)     caused by: java.lang.classnotfoundexception: com.resource.listener.applicationeventlistener$1 @ org.apache.catalina.loader.webappclassloaderbase.loadclass(webappclassloaderbase.java:1332) @ org.apache.catalina.loader.webappclassloaderbase.loadclass(webappclassloaderbase.java:1166) ... 28 more 

after mvn clean install refresh project. check dependencies in pom.xml whether required dependencies present or not. load required classes if had not loaded.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -