Return-Path: X-Original-To: apmail-ctakes-notifications-archive@www.apache.org Delivered-To: apmail-ctakes-notifications-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E57D610268 for ; Tue, 25 Nov 2014 14:37:12 +0000 (UTC) Received: (qmail 19260 invoked by uid 500); 25 Nov 2014 14:37:12 -0000 Delivered-To: apmail-ctakes-notifications-archive@ctakes.apache.org Received: (qmail 19228 invoked by uid 500); 25 Nov 2014 14:37:12 -0000 Mailing-List: contact notifications-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ctakes.apache.org Delivered-To: mailing list notifications@ctakes.apache.org Received: (qmail 19211 invoked by uid 99); 25 Nov 2014 14:37:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2014 14:37:12 +0000 Date: Tue, 25 Nov 2014 14:37:12 +0000 (UTC) From: "vijay (JIRA)" To: notifications@ctakes.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CTAKES-337) YTEX Class Conflict MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CTAKES-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vijay resolved CTAKES-337. -------------------------- Resolution: Fixed > YTEX Class Conflict > ------------------- > > Key: CTAKES-337 > URL: https://issues.apache.org/jira/browse/CTAKES-337 > Project: cTAKES > Issue Type: Bug > Components: ctakes-ytex-web > Affects Versions: 3.2.0 > Reporter: vijay > Priority: Minor > Fix For: 3.2.1 > > > Email on dev list from 9/27 > Hi Folks, > I've run into a strange problem. I built ctakes a few weeks ago on a > windows box, and everything worked great, no problem; now I've set it up on > a linux box in the past few days, and doing the install the exact same way, > the ytex jetty web app wouldn't launch (error is pasted in below). > The windows box is running Java 1.7.0_51 and the linux (Ubuntu Server > 14.04) box is running 1.7.0_67. > I tracked it down and it looks like it's > because javax/el/ExpressionFactory.class exists in both el-api-2.2.jar and > in jsp-api-2.1.jar. By getting rid of jsp-api-2.1.jar and replacing it > with jsp-api-2.2.jar, it works fine. > Has anyone else run into this? Any idea if I'll be breaking anything with > this fix? I'm happy to open an issue in JIRA for it. > Tim > ----------------- > Sep 27, 2014 1:12:54 AM com.sun.faces.config.ConfigureListener > contextInitialized > SEVERE: Critical error during deployment: > java.lang.NoSuchMethodError: > javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory; > at > org.apache.jasper.runtime.JspApplicationContextImpl.getExpressionFactory(JspApplicationContextImpl.java:108) > at > com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:693) > at > com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:243) > at > org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:794) > at > org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:435) > at > org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:786) > at > org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:285) > at > org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1324) > at > org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:738) > at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:490) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) > at > org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:118) > at > org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:100) > at > org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) > at > org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) > at > org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:118) > at > org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:100) > at > org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) > at > org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:118) > at org.eclipse.jetty.server.Server.start(Server.java:342) > at > org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:100) > at > org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) > at org.eclipse.jetty.server.Server.doStart(Server.java:290) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) > at org.eclipse.jetty.runner.Runner.run(Runner.java:519) > at org.eclipse.jetty.runner.Runner.main(Runner.java:567) > 27 Sep 2014 00:37:25 WARN WebAppContext - Failed startup of context > o.e.j.w.WebAppContext@67c2a1c7 > {/,file:/usr/local/apache-ctakes-3.1.2-SNAPSHOT/desc/ctakes-ytex-web/,STARTING}{file:/usr/local/apache-ctakes-3.1.2-SNAPSHOT/desc/ctakes-ytex-web/} > java.lang.RuntimeException: java.lang.NoSuchMethodError: > javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory; > at > com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:292) > at > org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:794) > at > org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:435) > at > org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:786) > at > org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:285) > at > org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1324) > at > org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:738) > at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:490) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) > at > org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:118) > at > org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:100) > at > org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) > at > org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) > at > org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:118) > at > org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:100) > at > org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) > at > org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:118) > at org.eclipse.jetty.server.Server.start(Server.java:342) > at > org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:100) > at > org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) > at org.eclipse.jetty.server.Server.doStart(Server.java:290) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) > at org.eclipse.jetty.runner.Runner.run(Runner.java:519) > at org.eclipse.jetty.runner.Runner.main(Runner.java:567) > Caused by: java.lang.NoSuchMethodError: > javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory; > at > org.apache.jasper.runtime.JspApplicationContextImpl.getExpressionFactory(JspApplicationContextImpl.java:108) > at > com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:693) > at > com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:243) > ... 25 more > 27 Sep 2014 01:12:54 DEBUG AbstractLifeCycle - STARTED > o.e.j.w.WebAppContext@52b8ed23 > {/,file:/usr/local/apache-ctakes-3.1.2-SNAPSHOT/desc/ctakes-ytex-web/,UNAVAILABLE}{file:/usr/local/apache-ctakes-3.1.2-SNAPSHOT/desc/ctakes-ytex-web/} -- This message was sent by Atlassian JIRA (v6.3.4#6332)