could not find the main class com.adobe.granite.quickstart.base.impl.main | Community
Skip to main content
rahulraj1990
July 25, 2018
Question

could not find the main class com.adobe.granite.quickstart.base.impl.main

  • July 25, 2018
  • 3 replies
  • 2844 views

I always get the below error while I try to run the author instance jar:

I have all the dependencies (JAVA_HOME, PATH etc) set on environment variables, but still facing the issue.

Adobe AEM version -> 6.2

Please help me on this. Let me know if you need more details.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

smacdonald2008
Level 10
July 25, 2018

Did this used to work or stop working?

Techaspect_Solu
Level 7
July 25, 2018

Hi,

This error usually comes up when the JAR file is corrupted. We'd suggest you to check if the JAR file corrupted.

FYI: You can check if your JAR file is corrupted using one of the following ways:

1) When you try executing "java -jar cq-author-6.2-4502.jar" from command line, you should see an error indicating that your is corrupted in stderr.log file.

2) You can extract the contents of AEM JAR file using 7-zip and verify if "Main-Class: com.adobe.granite.quickstart.base.impl.Main" is part of META-INF/MANIFEST.MF file.

Hope this helps!

Regards,

TechAspect Solutions

smacdonald2008
Level 10
July 25, 2018

Great response!