내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

WKND tutorial maven archetype 22 issue

Avatar

Level 2

Hi Team, 

Environment : Windows 10 64 bit , Java : OpenJDK12,  Maven 3.6.3 , AEM version 6.5

To get AEM refresher,I am trying WKND tutorial but it giving various plugins error like"Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-maven) on project aem-guides-wknd: Execution enforce-maven of goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce: java.lang.ExceptionInInitializerError: null " , 

For solution searched on our League Community, changed enforcer plugin version from 1.4.1 to 3.0.0-M2 but still various problems exists like "filevault-package-maven-plugin" also changed from 1.0.3 to 1.1.2 in main pom.xml 

Can you please provide help. 

Thanks in advance. 

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

6.5
1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Not sure if this is an issue with JDK12 ? I tried this with JDK 11 and it works fine for me

 

Thanks

Veena

원본 게시물의 솔루션 보기

3 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

Not sure if this is an issue with JDK12 ? I tried this with JDK 11 and it works fine for me

 

Thanks

Veena

Avatar

Community Advisor and Adobe Champion

@p1hampi, what is the version of your maven using? Please assign your maven plugin to use JDK 11, this works for me as expected. 

mvn -v
Apache Maven 3.6.0
Java version: 11.0.8, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-11.0.8.jdk/Contents/Home
...

 

Avatar

Level 2
Hi @BrianKasingli , issue was with maven pointing to OpenJDK12 , I tried with JDK 11.0.8 it worked. Thanks