Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Can you help me fix '[WARNING] Unable to read SCR descriptor file from JAR File' ?

chung_yonge1684
Level 4
Level 4

Hello Everyone,

Can you help me fix '[WARNING] Unable to read SCR descriptor file from JAR File' ?

[INFO] --- maven-scr-plugin:1.20.0:scr (generate-scr-descriptor) @ afa-common-bundle ---

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Program Files\apache-maven-3.5.4\repository\io\tikaltechnologies\danta\aem\1.0.5\aem-1.0.5.jar at OSGI-INF/danta.aem.templating.InitScriptHelperFunction.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Program Files\apache-maven-3.5.4\repository\io\tikaltechnologies\danta\aem\1.0.5\aem-1.0.5.jar at OSGI-INF/danta.aem.contextprocessors.images.AddTransformedImagePathsContextProcessor.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Program Files\apache-maven-3.5.4\repository\io\tikaltechnologies\danta\aem\1.0.5\aem-1.0.5.jar at OSGI-INF/danta.aem.templating.HelperFunctionBindImpl.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Program Files\apache-maven-3.5.4\repository\io\tikaltechnologies\danta\aem\1.0.5\aem-1.0.5.jar at OSGI-INF/danta.aem.contextprocessors.lists.AddTraversedPageReferencesContextProcessor.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Program Files\apache-maven-3.5.4\repository\io\tikaltechnologies\danta\aem\1.0.5\aem-1.0.5.jar at OSGI-INF/danta.aem.templating.IncludeResourceHelperFunction.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Program Files\apache-maven-3.5.4\repository\io\tikaltechnologies\danta\aem\1.0.5\aem-1.0.5.jar at OSGI-INF/danta.aem.assets.impl.AssetPathServiceImpl.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Program Files\apache-maven-3.5.4\repository\io\tikaltechnologies\danta\aem\1.0.5\aem-1.0.5.jar at OSGI-INF/danta.aem.contextprocessors.lists.AddCuratedPageReferencesContextProcessor.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Program Files\apache-maven-3.5.4\repository\io\tikaltechnologies\danta\aem\1.0.5\aem-1.0.5.jar at OSGI-INF/danta.aem.contextprocessors.AddPagePropertiesContextProcessor.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Program Files\apache-maven-3.5.4\repository\io\tikaltechnologies\danta\aem\1.0.5\aem-1.0.5.jar at OSGI-INF/danta.aem.servlets.ImageRenditionOptionsExtJSONServlet.xml

ERROR:  ''

1689998_pastedImage_0.png

4 Replies
rodolfoe6195251
Level 2
Level 2

Hi, I had the same issue with maven-scr-plugin 1.21.0, I'm now using version 1.26.2 and am not seeing the error or warnings.

anups45193469
Level 1
Level 1
apart from maven scr plugin did you update any thing i did try this the build is getting failed using java 8
samikshaa223429
Level 3
Level 3

I am facing a similar error whenever I build AEM . This happened particularly when we moved from acs-commons-3.8.4 to acs-commons-4.0.0

ERROR in Build Console :

WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.workflow.bulk.removal.impl.servlets.ForceQuitServlet.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.models.injectors.impl.AemObjectInjector.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.users.impl.EnsureAce.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.mcp.impl.processes.AssetFolderCreatorFactory.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.oak.impl.EnsureOakIndexServlet.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.workflow.bulk.execution.impl.runners.AEMTransientWorkflowRunnerImpl.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.mcp.impl.processes.AssetReportFactory.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.util.datadefinitions.impl.TitleAndNodeNameDefinitionBuilderImpl.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.hc.impl.HealthCheckStatusEmailer.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.redirectmaps.impl.RemoveEntryServlet.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.contentfinder.querybuilder.impl.viewhandler.QueryBuilderViewHandler.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.analysis.jcrchecksum.impl.ChecksumGeneratorImpl.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.httpcache.config.impl.HttpCacheConfigImpl.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.quickly.results.impl.serializers.GenericResultSerializerImpl.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.twitter.impl.TwitterFeedScheduler.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.util.impl.QueryHelperImpl.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.wcm.impl.WorkflowModelFilterPageInfoProvider.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.mcp.impl.ControlledProcessManagerServlet.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.replication.status.impl.ReplicatedByWorkflowProcess.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.httpcache.invalidator.event.JCRNodeChangeEventHandler.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.designer.impl.OptionsServlet.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.util.impl.ComponentDisabler.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.httpcache.rule.impl.CacheOnlyResponse200.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.dam.impl.CustomComponentActivatorListServlet.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.dam.audio.impl.FFMpegAudioEncodeProcess.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.wcm.notifications.impl.SystemNotificationsImpl.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.rewriter.impl.VersionedClientlibsTransformerFactory.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.users.impl.EnsureGroup.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.packaging.impl.QueryPackagerServletImpl.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.designer.impl.DesignHtmlLibraryManagerImpl.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.forms.impl.FormsPostFilterImpl.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.workflow.process.impl.BrandPortalSyncProcess.xml

ERROR:  ''

[WARNING] Unable to read SCR descriptor file from JAR File C:\Users\sanvekar\.m2\repository\com\adobe\acs\acs-aem-commons-bundle\4.0.0\acs-aem-commons-bundle-4.0.0.jar at OSGI-INF/com.adobe.acs.commons.forms.helpers.impl.PostRedirectGetFormHelperImpl.xml

1847466_pastedImage_0.png

I tried changing maven-scr-plugin 1.20.0, I'm now using version 1.26.2 but it was not able to build.Gave me

[ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1.26.2:scr (generate-scr-descriptor) on project DXP.core: SCR Descriptor parsing had failures (see log) -> [Help 1]

1847467_pastedImage_1.png

Let me know if you can help me figure out the issue.

Thank you,

Samiksha.

anups45193469
Level 1
Level 1

is this issue resolved if so what is the fix ?