Hi Team,
I'm not sure which Archetype the current project is using but whenever I want to extend a core component, It doesn't detect the package.
I'm not sure if this is because uber-jar (currently 6.5.12) is not compatible with the core components the project has (2.20) or some other dependencies.
the pom.xml doesn't have any dependency for the core components
This is the first time I'm facing an issue like this so I've checked other post from the Adobe community but didn't work. You're inputs will be a great guidance to me in order to figure out the issue.
Regards
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
in IDE try Maven Reload Project / Generate Sources
check your settings.xml also - adobe public repository
You need to add core.wcm.components.core dependency to your root and core pom.xml
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.core</artifactId>
<version>${core.wcm.components.version}</version>
</dependency>
Hi, @Mahedi_Sabuj I already added core.wcm.components.core to pom.xml and core.xml but the issue persists.
Sometimes IDE needs to restart for new dependency taking any effect. Could you please restart your IDE and try again?
in IDE try Maven Reload Project / Generate Sources
check your settings.xml also - adobe public repository
Hi Guys, I tried your suggestions but none of them are working.
Parent POM
Core POM
Example Class
do you have any VPN or Proxy enabled?
can you check in any other project or try wknd GitHub project - if the same issue ?
@Luis_Ochoa In Intellij, right click on the project root folder -> maven and click on Reload Project and check if any build error is coming. It is not able to download dependency if I am not wrong. please confirm if it says Could not find artifact
Disregard Guys. I was able to get this fixed. I'm not sure which button I pressed from my IDE but it know works.
Appreciate all the help you gave me !!
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies