Unable to compile class for JSP: An error occurred at line 95 | Community
Skip to main content
Level 2
April 23, 2015
Solved

Unable to compile class for JSP: An error occurred at line 95

This error may occur when you run AEM 6.0 with Java 8. Java version 8, is not supported with AEM 6.0 until you install the service pack. If you are having that problem, install the service pack. You can follow these steps:

 

  1. Download the most recent Service Pack (SP2) from package share or from our dropbox folder:  https://www.dropbox.com/s/h1dwxyxcvsw4dag/ServicePack2.zip?dl=0
  2. Once downloaded, go to the folder where you installed AEM initially, and delete all the contents in the crx-quickstart folder (you will be running a fresh install) so you will now have an empty crx-quickstart folder.
  3. In the crx-quickstart folder, create a new folder called install and copy the service pack  that you downloaded to that folder.
  4. The structure should now be: crx-quickstart > install > ServicePack2.zip
  5. Start AEM by double clicking the AEM quickstart jar, and when it starts, it will find the install folder and also install the Service Pack.

  

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Gdubz-57m2mu
Gdubz-57m2muAccepted solution
Level 5
October 29, 2015

Just wanted to reply here saying that you're a life saver. Thanks for this info!

11 replies

AmitVishwakarma
Level 1
January 18, 2025

Thanks for this info!

Translate
poojashreep8652
Level 2
November 16, 2018

Hi Team,

I am unable to open the above link to download the sp2. Can anyone please help me?

Thanks in advance

Poojashree

Translate
adiah54020562
New Participant
May 16, 2018

I can't download the file, Can you share a new link?

Translate
pranavkadam
New Participant
April 4, 2018

It is working absolutely fine.

Thanks Gary :-)

Translate
New Participant
September 12, 2017

thanks Gary.. You are a life saver.

Translate
Mat_Barreto
Level 2
September 22, 2016

More than one year later, still helping people. Thanks.

Translate
garyTAuthor
Level 2
January 18, 2016

Hi,

With 5.6 you will need SP2 (See Technical Requirements - docs.adobe.com) for more information and to confirm

Translate
New Participant
January 17, 2016

Will the same thing work for AEM 5.6.1 attempting to run on Java 8?

Translate
New Participant
January 4, 2016

Great, thanks Gary.

Translate
Jay10125
New Participant
December 29, 2015

Perfect resolution..Thanks Gary

Translate