Estou tentando iniciar meu servidor tomcat e as aplicações em desenvolvimento e não roda.
No console apresenta esse erro:
nov 16, 2017 8:35:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server version: Apache Tomcat/7.0.82
nov 16, 2017 8:35:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server built: Sep 29 2017 12:23:15 UTC
nov 16, 2017 8:35:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server number: 7.0.82.0
nov 16, 2017 8:35:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: OS Name: Mac OS X
nov 16, 2017 8:35:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: OS Version: 10.13.1
nov 16, 2017 8:35:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Architecture: x86_64
nov 16, 2017 8:35:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Java Home: /Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home
nov 16, 2017 8:35:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JVM Version: 9.0.1+11
nov 16, 2017 8:35:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JVM Vendor: Oracle Corporation
nov 16, 2017 8:35:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: CATALINA_BASE: /Users/wellington/Desktop/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
nov 16, 2017 8:35:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: CATALINA_HOME: /Users/wellington/Desktop/Programas para Java/apache-tomcat-7.0.82
nov 16, 2017 8:35:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dcatalina.base=/Users/wellington/Desktop/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
nov 16, 2017 8:35:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dcatalina.home=/Users/wellington/Desktop/Programas para Java/apache-tomcat-7.0.82
nov 16, 2017 8:35:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dwtp.deploy=/Users/wellington/Desktop/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps
nov 16, 2017 8:35:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dfile.encoding=UTF-8
nov 16, 2017 8:35:55 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFORMAÇÕES: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/wellington/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
nov 16, 2017 8:35:55 AM org.apache.catalina.core.JreMemoryLeakPreventionListener lifecycleEvent
GRAVE: Failed to trigger creation of the GC Daemon thread during Tomcat start to prevent possible memory leaks. This is expected on non-Sun JVMs.
java.lang.ClassNotFoundException: sun.misc.GC
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:563)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:292)
at org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:350)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:388)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at org.apache.catalina.startup.Catalina.load(Catalina.java:643)
at org.apache.catalina.startup.Catalina.load(Catalina.java:668)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:253)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:427)
nov 16, 2017 8:35:56 AM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler [“http-bio-8085”]
nov 16, 2017 8:35:56 AM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler [“ajp-bio-8009”]
nov 16, 2017 8:35:56 AM org.apache.catalina.startup.Catalina load
INFORMAÇÕES: Initialization processed in 3150 ms
nov 16, 2017 8:35:56 AM org.apache.catalina.core.StandardService startInternal
INFORMAÇÕES: Starting service Catalina
nov 16, 2017 8:35:56 AM org.apache.catalina.core.StandardEngine startInternal
INFORMAÇÕES: Starting Servlet Engine: Apache Tomcat/7.0.82
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase$1 (file:/Users/wellington/Desktop/Programas%20para%20Java/apache-tomcat-7.0.82/lib/catalina.jar) to method java.lang.ClassLoader.registerAsParallelCapable()
WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
nov 16, 2017 8:35:57 AM org.apache.catalina.loader.WebappLoader buildClassPath
INFORMAÇÕES: Unknown loader jdk.internal.loader.ClassLoaders$AppClassLoader@4f8e5cde class jdk.internal.loader.ClassLoaders$AppClassLoader
nov 16, 2017 8:35:58 AM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
ADVERTÊNCIA: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [179] milliseconds.
nov 16, 2017 8:35:59 AM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler [“http-bio-8085”]
nov 16, 2017 8:35:59 AM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler [“ajp-bio-8009”]
nov 16, 2017 8:35:59 AM org.apache.catalina.startup.Catalina start
INFORMAÇÕES: Server startup in 2907 ms
Já no navegador apresenta ou erro 404 ou erro 500.
Agora apresentou o seguinte:
HTTP Status 500 - Could not resolve NavigationCase for outcome:
type Exception report
message Could not resolve NavigationCase for outcome:
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Could not resolve NavigationCase for outcome:
javax.faces.webapp.FacesServlet.service(FacesServlet.java:659)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause
javax.faces.FacesException: Could not resolve NavigationCase for outcome:
org.primefaces.renderkit.OutcomeTargetRenderer.getTargetURL(OutcomeTargetRenderer.java:154)
org.primefaces.component.menu.BaseMenuRenderer.encodeMenuItem(BaseMenuRenderer.java:169)
org.primefaces.component.tieredmenu.TieredMenuRenderer.encodeElements(TieredMenuRenderer.java:112)
org.primefaces.component.tieredmenu.TieredMenuRenderer.encodeSubmenu(TieredMenuRenderer.java:174)
org.primefaces.component.tieredmenu.TieredMenuRenderer.encodeElements(TieredMenuRenderer.java:131)
org.primefaces.component.tieredmenu.TieredMenuRenderer.encodeSubmenu(TieredMenuRenderer.java:174)
org.primefaces.component.tieredmenu.TieredMenuRenderer.encodeElements(TieredMenuRenderer.java:131)
org.primefaces.component.tieredmenu.TieredMenuRenderer.encodeMenu(TieredMenuRenderer.java:79)
org.primefaces.component.menubar.MenubarRenderer.encodeMarkup(MenubarRenderer.java:51)
org.primefaces.component.menu.BaseMenuRenderer.encodeEnd(BaseMenuRenderer.java:114)
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
javax.faces.render.Renderer.encodeChildren(Renderer.java:176)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889)
org.primefaces.renderkit.CoreRenderer.renderChild(CoreRenderer.java:85)
org.primefaces.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:72)
org.primefaces.component.layout.LayoutUnitRenderer.encodeEnd(LayoutUnitRenderer.java:49)
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:456)
com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:133)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:647)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.82 logs.