Good evening!
I'm having trouble installing JasperReportServer 5.6.1 on my Windows 8.1 with Java 8.
I downloaded JasperReports Server from the jasperReportsServer link. I downloaded the file jasperreports-server-cp-5.6.1-windows-x64-installer.exe
I installed everything right, it already installed with Apache Tomcat / 7.0.42 so that's fine.
When I go I was able to open the Tomcat Web Application Manager as shown:
IfyoulookatListApplicationsyouhave/jasperserver,whichishowthedownloadcamefrom.
AndwhenIclickStarttostarttheServeritgivesthefollowingerror:
FAIL-Applicationatcontextpath/jasperservercouldnotbestartedFAIL-Encounteredexceptionorg.apache.catalina.LifecycleException:Failedtostartcomponent[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jasperserver]]
Moreinformation...WhenIstartthetomtomofthefollowingerronologfilecatalina.2014-12-03.log
dez03,201411:35:07PMorg.apache.catalina.core.AprLifecycleListenerinitINFORMAÇÕES:LoadedAPRbasedApacheTomcatNativelibrary1.1.27usingAPRversion1.4.6.dez03,201411:35:07PMorg.apache.catalina.core.AprLifecycleListenerinitINFORMAÇÕES:APRcapabilities:IPv6[true],sendfile[true],acceptfilters[false],random[true].dez03,201411:35:09PMorg.apache.catalina.core.AprLifecycleListenerinitializeSSLINFORMAÇÕES:OpenSSLsuccessfullyinitialized(OpenSSL1.0.1d5Feb2013)dez03,201411:35:10PMorg.apache.coyote.AbstractProtocolinitINFORMAÇÕES:InitializingProtocolHandler["http-apr-8081"]
dez 03, 2014 11:35:10 PM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["ajp-apr-8009"]
dez 03, 2014 11:35:10 PM org.apache.catalina.startup.Catalina load
INFORMAÇÕES: Initialization processed in 3750 ms
dez 03, 2014 11:35:10 PM org.apache.catalina.core.StandardService startInternal
INFORMAÇÕES: Starting service Catalina
dez 03, 2014 11:35:10 PM org.apache.catalina.core.StandardEngine startInternal
INFORMAÇÕES: Starting Servlet Engine: Apache Tomcat/7.0.42
dez 03, 2014 11:35:10 PM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deploying web application directory C:\Jaspersoft\jasperreportsserver\apache-tomcat\webapps\host-manager
dez 03, 2014 11:35:11 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom
INFORMAÇÕES: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [118] milliseconds.
dez 03, 2014 11:35:11 PM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deploying web application directory C:\Jaspersoft\jasperreportsserver\apache-tomcat\webapps\jasperserver
dez 03, 2014 11:35:12 PM org.apache.catalina.core.ContainerBase addChildInternal
GRAVE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jasperserver]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NoClassDefFoundError: com/sun/jersey/api/core/ResourceConfig
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:340)
at org.apache.catalina.startup.ContextConfig.getServletContainerInitializer(ContextConfig.java:1652)
at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1562)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1270)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 10 more
Caused by: java.lang.ClassNotFoundException: com.sun.jersey.api.core.ResourceConfig
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
... 21 more
Has anyone ever had an error like this?
Thank you!