Hippo not starting


#1

Hi,
I am just getting started with Hippo, following the tutorials I built, created and ran the project but on trying to access localhost:8080/cms I am getting 404 error. In logs I see below error, can someone help pls.

org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
05-Mar-2019 15:26:56.289 SEVERE [main] org.apache.catalina.core.ApplicationContext.log StandardWrapper.Throwable
java.lang.NoClassDefFoundError: javax/activation/DataHandler
at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.(RuntimeBuiltinLeafInfoImpl.java:478)
at com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.(RuntimeTypeInfoSetImpl.java:63)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:128)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:84)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:162)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.(RuntimeModelBuilder.java:92)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:455)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:303)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:139)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1156)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:165)
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:566)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:297)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:286)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:409)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:721)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:662)
at org.hippoecm.hst.site.container.ModuleDescriptorUtils.loadModuleDefinition(ModuleDescriptorUtils.java:93)
at org.hippoecm.hst.site.container.ModuleDescriptorUtils.collectAllModuleDefinitions(ModuleDescriptorUtils.java:64)
at org.hippoecm.hst.site.container.ModuleDescriptorUtils.collectAllModuleDefinitions(ModuleDescriptorUtils.java:50)
at org.hippoecm.hst.site.container.ModuleDescriptorUtils.collectAllModuleDefinitions(ModuleDescriptorUtils.java:46)
at org.hippoecm.hst.site.container.DefaultHstSiteConfigurer.initializeComponentManager(DefaultHstSiteConfigurer.java:237)
at org.hippoecm.hst.site.container.DefaultHstSiteConfigurer.initialize(DefaultHstSiteConfigurer.java:208)
at org.hippoecm.hst.site.container.HstContextLoaderListener.configureHstSite(HstContextLoaderListener.java:105)
at org.hippoecm.hst.platform.container.HstPlatformContextLoaderListener.initializeHstPlaform(HstPlatformContextLoaderListener.java:100)
at org.hippoecm.hst.platform.container.HstPlatformContextLoaderListener$2.serviceRegistered(HstPlatformContextLoaderListener.java:69)
at org.onehippo.cms7.services.HippoServiceRegistry.register(HippoServiceRegistry.java:112)
at org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:227)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1124)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1079)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:971)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4829)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5143)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:986)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1858)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorServi


#2

You should use JDK8, JDK9 is not supported yet