java - A child container failed during start - loader constraint violation? -
i'm give up.
using intellij idea.
after starting using google contacts api i'm unable use gradle tomcat anymore. external.
when using internal tomcat (tomcatrun) error.
think have googled , tried every suggestion there is.
13:11:58: executing external task 'tomcatrun' note: input files use unchecked or unsafe operations. note: recompile -xlint:unchecked details. :compilejava :processresources up-to-date :classes child container failed during start java.util.concurrent.executionexception: org.apache.catalina.lifecycleexception: failed start component [standardengine[tomcat].standardhost[localhost].standardcontext[/myproject]] @ java.util.concurrent.futuretask.report(futuretask.java:122) @ java.util.concurrent.futuretask.get(futuretask.java:192) @ org.apache.catalina.core.containerbase.startinternal(containerbase.java:1123) @ org.apache.catalina.core.standardhost.startinternal(standardhost.java:816) @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150) @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1575) @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1565) @ java.util.concurrent.futuretask.run(futuretask.java:266) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) @ java.lang.thread.run(thread.java:745) caused by: org.apache.catalina.lifecycleexception: failed start component [standardengine[tomcat].standardhost[localhost].standardcontext[/myproject]] @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:154) ... 6 more caused by: java.lang.linkageerror: loader constraint violation: loader (instance of org/apache/catalina/loader/webappclassloader) initiated loading different type name "javax/servlet/servletcontext" @ java.lang.classloader.defineclass1(native method) @ java.lang.classloader.defineclass(classloader.java:763) @ java.security.secureclassloader.defineclass(secureclassloader.java:142) @ java.net.urlclassloader.defineclass(urlclassloader.java:467) ... more more build failed
it seems me violation have take care i'm clueless.
Comments
Post a Comment