90 likes | 181 Views
Notes for Overview. Chrome plug-in. Chrome plug-in works in product model. Chrome plug-in does not work in development model. Why?. Trouble Shooting for Hello World. Error message
E N D
Chrome plug-in • Chrome plug-in works in product model. • Chrome plug-in does not work in development model. • Why?
Trouble Shooting for Hello World • Error message • Server replies An error occurred while attempting to contact the server Please check your network connection and try again. • Solution • Delete whole project • Compile with Java 1.6 • Go to Windows- >Preferences->Java->Complier and select compile compliance level to 1.6 • You should have JDK1.6 installed on your pc
Install Tomcat 7.0 • Download link • http://mirrors.gigenet.com/apache/tomcat/tomcat-7/v7.0.29/bin/apache-tomcat-7.0.29.exe • Test Tomcat • http://127.0.0.1:8080/ • Set username and password • root/conf/tomcat-users.xml, • for example: F:\Program Files\Apache Software Foundation\Tomcat 7.0\conf <role rolename="manager-gui"/> <user username="admin" password="admin" roles="manager-gui"/>
Deployment • Compile • Copy the whole war folder to Tomcat ./webapp/ • Change fold name to helloworld • Start Tomcat • http://localhost:8080/helloworld/
Still have problems? • Restart Eclipse