I'm setting up Liferay app.
Liferay version 6.2 Tomcat version 7.0.62 Java version 1.8.0_271 (liferay and tomcat don't use higer version of Java) I also tried versions 1.7.0_80, 1.8.202, 1.8.211, 1.8.241
My environment variables:
- JAVA_HOME : C:\Program Files\Java\jdk1.8.0_271
- JRE_HOME: C:\Program Files\Java\jdk1.8.0_271\jre
Step to reproduce:
Install JDK
Write environment variables
Download liferay 6.2
Open file portal-setup-wizard and write string: setup.wizard.enabled=true
Start tomcat
Open localhost:8080
Registration on portal
Then I try to deploy .war file by pasting this in /deploy folder
Then I get the error:
05:20:07,194 INFO [localhost-startStop-2][PortletHotDeployListener:344] Registering portlets for Test-portlet 05:20:07,432 ERROR [localhost-startStop-2][HotDeployImpl:233] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for Test-portlet com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for Test-portletTest-portlet at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46)
There is the feauture: only one portlet has this error, other portlets installed successfully. BUT this wrong portlet file installed successfully at my collegues...
What's wrong? Help please