You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by benjamin van der veen <bv...@gmail.com> on 2006/04/16 23:29:03 UTC

MyFaces and NetBeans 5.0

Hello,

I'm trying to deploy a NetBeans 5.0 project using MyFaces, but I'm
having a terribly time, and can't find any help on Google. The deploy
process fails with this error in the Bundled Tomcat log:

Apr 16, 2006 1:50:05 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class
com.sun.faces.config.ConfigureListener
java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3617)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:536)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Apr 16, 2006 1:50:05 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)

It seems that it's trying to load part of the Sun RI, but I have not
configured NetBeans to do this. I even started over with a virgin web
project, making sure not to specify JSF in the NetBeans "Frameworks"
configuration settings. What is going on here? I am totally at a loss.
It almost seems like NetBeans is reading a stale configuration file
somewhere; maybe this is a NetBeans problem? I figured I'd start on
this list, anyway, just in case someone here has gotten MyFaces to
work with NetBeans 5.0.

Thanks a lot,
benjamin

Re: MyFaces and NetBeans 5.0

Posted by benjamin van der veen <bv...@gmail.com>.
Mike,

I have, and they don't appear to be in the classpath, or the .war
file. Which is what I expected, since this is a
ClassNotFoundException. But why is it that something is trying to load
them?

Is there anyone else who has experienced this problem and can share his story?

On 4/17/06, Mike Kienenberger <mk...@gmail.com> wrote:
> On 4/16/06, benjamin van der veen <bv...@gmail.com> wrote:
> org.apache.catalina.core.StandardContext listenerStart
> > SEVERE: Error configuring application listener of class
> > com.sun.faces.config.ConfigureListener
> > java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
> > It seems that it's trying to load part of the Sun RI
>
> Yes, that's exactly the problem, although I couldn't say why.
> Try searching for jsf-api.jar and jsf-impl.jar files.
>

Re: MyFaces and NetBeans 5.0

Posted by Mike Kienenberger <mk...@gmail.com>.
On 4/16/06, benjamin van der veen <bv...@gmail.com> wrote:
org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Error configuring application listener of class
> com.sun.faces.config.ConfigureListener
> java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
> It seems that it's trying to load part of the Sun RI

Yes, that's exactly the problem, although I couldn't say why.
Try searching for jsf-api.jar and jsf-impl.jar files.