[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Re: problems with web project on wtp

Just for the record. Issue 2 with the server works fine with eclipse 3.4M7 
and wtp 3M7.

Tobias


"Tobias" <eclipse@xxxxxxxxx> schrieb im Newsbeitrag 
news:fsbre3$b4m$1@xxxxxxxxxxxxxxxxxxxx
> Hello,
> I use the wtp 3.0.0.v200712121937 with eclipse 3.4M5 from the Ganymede 
> Discovery Site and have some problems.
>
> 1. I use JSF and Trinidad and in my jsp page I get for every bean the 
> warning that it cannot be resolved. Code completition is missing too. And 
> for the action attribute I get the warning 'The action value does not 
> match a navigation case outcome.'. Looks like the information from 
> faces-context.xml is missing, can I define the location somewhere? 
> faces-context is in WebRoot/WEB-INF (Eclipse standard is WebContent). Same 
> code with Eclipse 3.3.2 and wtp 2.0.2 works fine. Also code completition 
> for tags, message bundles and defined vars for a table work great in 3.4 
> (defined vars didn't work in 3.3.2).
> I added jsf 1.2 to the project facades with serverside (don't know what it 
> was, but no custom libs) as I did with eclipse 3.3.2. Did I miss anything? 
> Don't remember more from the old setup.
>
>
> 2. I installed Tomcat 6 runtime and added a server. When I start the 
> server with the application I get following error.
>
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
> 25.03.2008 21:26:51 org.apache.catalina.core.StandardContext listenerStart
> SCHWERWIEGEND: Error configuring application listener of class 
> mypackage.....listener.ApplicationListener
> java.lang.ClassNotFoundException: 
> mypackage......listener.ApplicationListener
> at 
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
> at 
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
> at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3773)
> at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> at 
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> 25.03.2008 21:26:51 org.apache.catalina.core.StandardContext listenerStart
> SCHWERWIEGEND: Skipped installing application listeners due to previous 
> error(s)
> 25.03.2008 21:26:51 org.apache.catalina.core.StandardContext start
> SCHWERWIEGEND: Error listenerStart
> 25.03.2008 21:26:51 org.apache.catalina.core.StandardContext start
> SCHWERWIEGEND: Context [/myapp] startup failed due to previous errors
> 25.03.2008 21:26:51 org.apache.coyote.http11.Http11Protocol start
>
> This listener is defined in web.xml
> <listener>
> <listener-class>mypackage......listener.ApplicationListener</listener-class>
> </listener>
> and implements ServletContextListener
>
> Server runs also fine with Eclipse 3.3.2 and wtp 2.0.2
>
> Thanks, Tobias
>