Problem installing Jasperreport Server 5.6.1 on Windwos 8.1

Asked

Viewed 271 times

0

Good night!

I am having trouble installing Jasperreportserver 5.6.1 on my Windows 8.1 with Java 8.

I downloaded the Jasperreports Server from the link jasperReportsServer . I downloaded the jasperreports-server-cp-5.6.1-windows-x64-installer file. exe

I installed everything right he already installs together Apache Tomcat/7.0.42 so far so good.

When I go I managed to open the Tomcat Web Application Manager as per image: inserir a descrição da imagem aqui

If you analyze the List Applications has the /jasperserver, which is as it came from the download.

And when I click Start to start the Server the following error:

FAIL - Application at context path /jasperserver could not be started
FAIL - Encountered exception org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jasperserver]]

More information... When I start the cat tone the following error log file Catalina.2014-12-03.log

dez 03, 2014 11:35:07 PM org.apache.catalina.core.AprLifecycleListener init
INFORMAÇÕES: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
dez 03, 2014 11:35:07 PM org.apache.catalina.core.AprLifecycleListener init
INFORMAÇÕES: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
dez 03, 2014 11:35:09 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFORMAÇÕES: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)
dez 03, 2014 11:35:10 PM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["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 been through a mistake like that?

Thank you!

  • Caused by: java.lang.NoClassDefFoundError: com/sun/jersey/api/core/ResourceConfig, looks like you need a version of Jersey on Classpath.

  • Dude I don’t know who this Jersey is, I need to install it? I already have it? how do I put it on Classpath? Thanks

  • Hi Anderson. I don’t have much experience with Jasperreports Server, so I don’t know its dependencies to installation procedures (there is an installation manual on your link). That said, the Jersey is one of the most popular implementations of JAX-RS (API for Restful Web Services). We usually put libraries in the War folder WEB-INF/lib.

  • Alternatively, Tomcat has mechanisms to handle common libraries shared between applications (see the Manual.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.