Ich hab mich gerad durch die "JSF Tools tutorial - Build a JSF 2.0 application" der Eclipse Hilfe durchgearbeitet.
Ich verwende
- Eclipse Juno Build id: 20130225-0426
- Apache Tomcat/7.0.41
Meine Consolenausgabe sieht wie folgt aus
Das Projekt hab ich mal als ZIP angefügt. Wenn ich es aber über Run As -> Run on Server starte erhalte ich allerdings folgende Ausgabe
Da ich noch recht unerfahren hiermit bin verstehe ich nicht wo das Problem liegt. Ich hoffe einer von euch kann mir weiterhelfen.
Thx
Ich verwende
- Eclipse Juno Build id: 20130225-0426
- Apache Tomcat/7.0.41
Meine Consolenausgabe sieht wie folgt aus
Code:
Nov 26, 2013 12:28:07 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Windows\System32\WindowsPowerShell\v1.0\;F:\Programme\eclipse J2EE;;.
Nov 26, 2013 12:28:07 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:JSFFaceletsTutorial' did not find a matching property.
Nov 26, 2013 12:28:07 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Nov 26, 2013 12:28:07 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Nov 26, 2013 12:28:07 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 648 ms
Nov 26, 2013 12:28:07 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Nov 26, 2013 12:28:07 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.41
Nov 26, 2013 12:28:11 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
Nov 26, 2013 12:28:11 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Mojarra 2.1.6 (FCS 20120111) für Kontext '/JSFFaceletsTutorial' wird initialisiert.
Nov 26, 2013 12:28:12 PM com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: PostConstruct/PreDestroy-Annotationen vorhanden. Verwaltete Bean-Methoden, die mit diesen Annotationen markiert sind, lassen die entsprechenden Annotationen verarbeiten.
Nov 26, 2013 12:28:12 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Nov 26, 2013 12:28:12 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Nov 26, 2013 12:28:12 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4853 ms
Das Projekt hab ich mal als ZIP angefügt. Wenn ich es aber über Run As -> Run on Server starte erhalte ich allerdings folgende Ausgabe
HTML:
HTTP Status 404 - /JSFFaceletsTutorial/
--------------------------------------------------------------------------------
type Status report
message /JSFFaceletsTutorial/
description The requested resource is not available.
--------------------------------------------------------------------------------
Apache Tomcat/7.0.41
Da ich noch recht unerfahren hiermit bin verstehe ich nicht wo das Problem liegt. Ich hoffe einer von euch kann mir weiterhelfen.
Thx