facebook

glassfish reports no such method in jsf project ,,, oh my!

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #282725 Reply

    douglasv
    Member

    What can I do?
    excerpt from glassfish startup

    SEVERE: WebModule[/JSPLoginDemo]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
    java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;
    at org.apache.jasper.runtime.JspApplicationContextImpl.getExpressionFactory(JspApplicationContextImpl.java:80)
    at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1570)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:403)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4523)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:5184)
    at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
    at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
    at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
    at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
    at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
    at com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1672)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:955)
    at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
    at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
    at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)

    Mar 10, 2008 1:46:19 PM org.apache.catalina.core.StandardContext start
    SEVERE: PWC1306: Startup of context /JSPLoginDemo failed due to previous errors
    Mar 10, 2008 1:46:19 PM com.sun.enterprise.management.selfmanagement.SelfManagementService onReady
    INFO: SMGT0007: Self Management Rules service is enabled
    Mar 10, 2008 1:46:19 PM com.sun.enterprise.server.PEMain main
    INFO: Application server startup complete.

    #282728 Reply

    Loyal Water
    Member

    I need some more information about this error. You got this error when you tried running your project ? What kind of an app are you working with ?

    #282734 Reply

    douglasv
    Member

    @support-nipun wrote:

    I need some more information about this error. You got this error when you tried running your project ? What kind of an app are you working with ?[/quote

    MyEclipse Tutorial
    Welcome Page -> Tutorial-> [Create A JSF Web Application]
    on completion of the project I successfully deployed to glassfish

    [–Info from MyEclipse Servers Tab:–]
    Glassfish 2.x[default]
    status Running
    mode: Run
    JSPLoginDemo
    Status OK
    Mode: Exploded
    location: c:\Sun\SDK\domains\domain1\autodeploy\JSPLoginDemo.war

    #282758 Reply

    douglasv
    Member

    @support-nipun wrote:

    I need some more information about this error. You got this error when you tried running your project ? What kind of an app are you working with ?

    I’m pretty sure I know what caused this error.
    I went over to netbeans6 and experienced the same thing with a new jsf project

    Earlier, a book’s tutorial had me enter many jar files and a mysql5 driver into
    C:\Sun\SDK\jdk\jre\lib\ext

    When all else fails put stuff here, so to speak
    newer versions of these jars exist in the install , but I believe those in jre/lib/ext
    will override or conflict with them, but, i’m a newbie programmer and am not sure

    I removed these files and went to the recent jsf project in netbeans and it Worked
    I’ll try myeclipse again when I get another chance to play around

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: glassfish reports no such method in jsf project ,,, oh my!

You must be logged in to post in the forum log in