ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim O'Connell" <tim.oconn...@gmail.com>
Subject YTEX Class Conflict
Date Sat, 27 Sep 2014 08:56:32 GMT
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/}

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message