com.liferay.portal.kernel.deploy.auto.AutoDeployException

Failed to copy C:\LiferayBundle\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\temp\20140402213415966\WEB-INF\src\com\liferay\marketplace\util\comparator\PluginComparator.java to C:\LiferayBundle\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\webapps\marketplace-portlet\WEB-INF\src\com\liferay\marketplace\util\comparator\PluginComparator.java due to java.io.FileNotFoundException C:\LiferayBundle\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\webapps\marketplace-portlet\WEB-INF\src\com\liferay\marketplace\util\comparator\PluginComparator.java (The requested operation cannot be performed on a file with a user-mapped section open)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • com.liferay.portal.kernel.deploy.auto.AutoDeployException: Failed to copy C:\LiferayBundle\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\temp\20140402213415966\WEB-INF\src\com\liferay\marketplace\util\comparator\PluginComparator.java to C:\LiferayBundle\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\webapps\marketplace-portlet\WEB-INF\src\com\liferay\marketplace\util\comparator\PluginComparator.java due to java.io.FileNotFoundException C:\LiferayBundle\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\webapps\marketplace-portlet\WEB-INF\src\com\liferay\marketplace\util\comparator\PluginComparator.java (The requested operation cannot be performed on a file with a user-mapped section open) at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:212) at com.liferay.portal.deploy.auto.ThreadSafeAutoDeployer.autoDeploy(ThreadSafeAutoDeployer.java:36) at com.liferay.portal.deploy.auto.PortletAutoDeployListener.deploy(PortletAutoDeployListener.java:88) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.deploy(AutoDeployDir.java:50) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:211) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:275) at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:58)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.