Issue
- Go to Control Panel --> Site Templates
- Click the icon with three vertical points in the upper right corner of the page and click Export/Import
- Select Import section
- Then importing a site template lar file, the error "Uploaded LAR file type layout-set-prototype does not match Portlet." will display as below.
Environment
- Liferay DXP 7.4
Resolution
Follow the steps below to resolve this error:
- Go to Control Panel --> Site Templates
- Create a new site template
- Open this new site template and go to Publishing --> Import
- Import the site template lar file