Pages

Tuesday, July 29, 2014

"Updating Maven Project". Unsupported IClasspathEntry kind=4

To fix the issue,

  1. Right click on the project
  2. Maven > Remove maven nature
  3. Right click on the project
  4. Run as > Run configurations
  5. eclipse : clean
  6. Right click on the project
  7. Maven > Convert to maven projects

Friday, July 25, 2014

Apache Tomcat 7 displays blank page Mac OSX 10.9

After installing Apache Tomcat 7 using the following excellent tutorial,
http://wolfpaulus.com/jounal/mac/tomcat7/, the default page in http://localhost:8080 returned a blank page.

There can be several reasons that is causing this issue, and mine got fixed when I changed the default Tomcat port from 8080 to 8081 (It can be any available port) following http://www.mkyong.com/tomcat/how-to-change-tomcat-default-port/

To check the availability of ports and verify Tomcat is running in 8081, use the following command:
netstat -anf inet

The required change to change the port (In /conf/server.xml) in given below:

  port="8181" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443" />