Jump to content
We've recently updated our Privacy Statement, available here ×

Error while Installing Jasperreport Server 9.0


Recommended Posts

Getting the following error when trying to install jasperreport Server :
 

Script stderr:
      [exec] Result: 128
     [copy] Warning: Could not find file C:\Jaspersoft\jasperreports-server-9.0.0\buildomatic\conf_source\templates\keystore-configuration.xml to copy.

BUILD FAILED
C:\Jaspersoft\jasperreports-server-9.0.0\buildomatic\bin\db-common.xml:1594: The following error occurred while executing this line:
C:\Jaspersoft\jasperreports-server-9.0.0\buildomatic\bin\app-server.xml:42: java.lang.UnsupportedClassVersionError: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0


And the server won't start and throw the following error: 

2024-02-02T10:51:58,464 ERROR SecureExceptionHandlerImpl,http-nio-8080-exec-4:135 - There was an error on the server. Try again or contact site administrators.. null org.apache.jasper.JasperException: java.lang.NullPointerException
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:623)


System: Windows 10 64 bit

JDK: 21

Link to comment
Share on other sites

  • 1 month later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

I have the same problem on a windows server 2022 64 bit

During installation there is an error

Problem running post-install step. Installation may not complete correctly
 Error running D:\ISA\jasperreports-server-9.0.0/buildomatic/js-ant.bat import-minimal-pro:      [exec] Execute failed: java.io.IOException: Cannot run program "git" (in directory "D:\ISA\jasperreports-server-9.0.0\buildomatic"): CreateProcess error=2, The system cannot find the file specified
     [copy] Warning: Could not find file D:\ISA\jasperreports-server-9.0.0\buildomatic\conf_source\templates\keystore-configuration.xml to copy.

BUILD FAILED
..

D:\ISA\jasperreports-server-9.0.0\buildomatic\bin\app-server.xml:42: java.lang.UnsupportedClassVersionError: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
 

 

The settings of JAVA_HOME are correct - I checked this.

C:\Windows\System>java -version
java version "17.0.9" 2023-10-17 LTS
Java(TM) SE Runtime Environment (build 17.0.9+11-LTS-201)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.9+11-LTS-201, mixed mode, sharing)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...