I am trying to create new AEM project with archetype
mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=27 -D aemVersion=6.5.0 -D appTitle="My Site" -D appId="mysite" -D groupId="com.mysite" -D frontendModule=general -D includeExamples=y
Please help me resolve this
Error [ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error reading C:\Users\mayur\.m2\repository\com\adobe\aem\uber-jar\6.5.0\uber-jar-6.5.0.jar; zip END header not found
[ERROR] /D:/aem_project/mysite/core/src/main/java/com/mysite/core/listeners/package-info.java:[16,1] cannot access com.mysite.core.listeners
zip END header not found
[ERROR] /D:/aem_project/mysite/core/src/main/java/com/mysite/core/filters/package-info.java:[16,1] cannot access com.mysite.core.filters
zip END header not found
[ERROR] /D:/aem_project/mysite/core/src/main/java/com/mysite/core/servlets/package-info.java:[16,1] cannot access com.mysite.core.servlets
zip END header not found
[ERROR] /D:/aem_project/mysite/core/src/main/java/com/mysite/core/models/HelloWorldModel.java:[16,1] cannot access com.mysite.core.models
zip END header not found
[ERROR] /D:/aem_project/mysite/core/src/main/java/com/mysite/core/schedulers/package-info.java:[16,1] cannot access com.mysite.core.schedulers
zip END header not found
[ERROR] /D:/aem_project/mysite/core/src/main/java/com/mysite/core/listeners/SimpleResourceListener.java:[41,8] cannot access java.lang
zip END header not found
[ERROR] /D:/aem_project/mysite/core/src/main/java/com/mysite/core/listeners/SimpleResourceListener.java:[41,48] cannot find symbol
symbol: class EventHandler
[ERROR] /D:/aem_project/mysite/core/src/main/java/com/mysite/core/listeners/SimpleResourceListener.java:[35,2] cannot find symbol
symbol: class Component
Solved! Go to Solution.
Views
Replies
Total Likes
The JAR in your local Maven cache is corrupt.
Just delete the file
.m2/com.some_company/any_random.jar
Hope this helps!
Thanks,
Kiran Vedantam.
@Mayuri_Admanre have you tried deleting/renaming the repository folder in the ".m2" folder and running the cmd in the admin cmd prompt?
The JAR in your local Maven cache is corrupt.
Just delete the file
.m2/com.some_company/any_random.jar
Hope this helps!
Thanks,
Kiran Vedantam.
Views
Likes
Replies