RE: Cannot start Tomcat server within developer studio

Lan Zhang, modified 1 Year ago. New Member Posts: 23 Join Date: 5/16/11 Recent Posts

I've just installed DXP 2024Q3.12 and Developer Studio 3.10.2 on Windows 10. I can start Liferay Tomcat using startup.bat, but I am unable to start the Tomcat server from within Developer Studio. Instead, I encounter the following issue:

Error: Could not find or load main class org.apache.catalina.startup.Bootstrap. Caused by: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstrap

 

 

Lan Zhang, modified 1 Year ago. New Member Posts: 23 Join Date: 5/16/11 Recent Posts

My issue was resolved by empting the contents of the liferay-dxp/osgi/state folder and the liferay-dxp/tomcat/work folder. After that, I started Tomcat by running startup.bat. Following this, starting the Tomcat server within Developer Studio 3.10.2 worked as expected.