Issue
- Below exceptions are occurring while deploying "Asset Publisher Web Module" ext-plugin
-
INF/resources/js/SelectFolder.soy,1022_BUNDLE_CONTEXT_/META-INF/resources/js/ChangeDefaultLanguage.soy,345_BUNDLE_CONTEXT_/META-INF/resources/js/AutoField.soy,1232_BUNDLE_CONTEXT_/META-INF/resources/js/AutoField.soy
Environment
- Liferay 7.2
Resolution
-
Check the version of com.liferay.asset.publisher.web-x.y.z.jar in osgi/marketplace/Liferay Web Experience - Liferay Asset - Impl.lpkg
-
Use the above version to create ext plugin
-
Customize the plugin
- Use gradlew deploy to create the jar file (by default the output is found in the workspaceroot/bundles/osgi/marketplace/override folder) OR copy the jar to the bundle's osgi/marketplace/override folder
-
Delete the osgi/state folder
-
Start Liferay

Additional Information
- Building and copying the Ext module’s JAR to the deploy folder manually would not deploy ext-plugins properly which prompts soy exceptions in the Liferay console.
- This resolution is only for deploying ext-plugins, Liferay Support will not be able to assist with designing or implementing customizations with respects to the ext-plugins.