{"action":"opened","issue":{"url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/191","labels_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/191/comments","events_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/191/events","html_url":"https://github.com/lightbody/browsermob-proxy/issues/191","id":65360345,"number":191,"title":"Servlet dependency error after add browsermob-proxy lib","user":{"login":"shimron","id":5574178,"avatar_url":"https://avatars.githubusercontent.com/u/5574178?v=3","gravatar_id":"","url":"https://api.github.com/users/shimron","html_url":"https://github.com/shimron","followers_url":"https://api.github.com/users/shimron/followers","following_url":"https://api.github.com/users/shimron/following{/other_user}","gists_url":"https://api.github.com/users/shimron/gists{/gist_id}","starred_url":"https://api.github.com/users/shimron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimron/subscriptions","organizations_url":"https://api.github.com/users/shimron/orgs","repos_url":"https://api.github.com/users/shimron/repos","events_url":"https://api.github.com/users/shimron/events{/privacy}","received_events_url":"https://api.github.com/users/shimron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-31T04:06:53Z","updated_at":"2015-03-31T04:06:53Z","closed_at":null,"body":"after add browsermob-proxy 2.0 dependency to my pom.xml, when I was trying to start my webapp, I got this error:\r\n\r\n\r\njava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]\r\nat java.util.concurrent.FutureTask.report(FutureTask.java:122)\r\nat java.util.concurrent.FutureTask.get(FutureTask.java:188)\r\nat org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)\r\nat org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)\r\nat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\nat org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)\r\nat org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)\r\nat java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\nat java.lang.Thread.run(Thread.java:745)\r\n\r\nCaused by: java.lang.LinkageError: loader constraint violation: loader (instance of org/apache/catalina/loader/WebappClassLoader) previously initiated loading for a different type with name \"javax/servlet/ServletContext\"\r\nat java.lang.ClassLoader.defineClass1(Native Method)\r\nat java.lang.ClassLoader.defineClass(ClassLoader.java:800)\r\nat java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)\r\nat java.net.URLClassLoader.defineClass(URLClassLoader.java:449)\r\nat java.net.URLClassLoader.access$100(URLClassLoader.java:71)\r\nat java.net.URLClassLoader$1.run(URLClassLoader.java:361)\r\nat java.net.URLClassLoader$1.run(URLClassLoader.java:355)\r\nat java.security.AccessController.doPrivileged(Native Method)\r\nat java.net.URLClassLoader.findClass(URLClassLoader.java:354)\r\nat org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1191)\r\nat org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1669)\r\nat org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)\r\nat org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:166)\r\nat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5423)\r\nat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n... 6 more\r\n\r\n\r\n"}}