I just downloaded the Tomcat 7.0.23 package on my Ubuntu 11.10.
I followed the instructions on a Google API website to deploy their example webapp. It basically con
I got stuck and problem solved Don't use the path that is "Map Network Drive", but use the \server\folder structure instead
I got out of memory error with when facing such phenomena:
Caused by: java.lang.OutOfMemoryError: PermGen space
after freeing some memory, the problem is solved.
For me the problem was caused by checking the project into an other directory from Git. Choosing the same name as the war file solved the problem.
I done in same way and its working now. Actually web.xml file having wrong url-pattern. you can remove one url-pattern either annotation form servlet or web.xml.It worked for me.
Might be super trivial but worth a check prior to waste some time.
At my case the mysql
service was down.
When you have a java app including JPA / Hibernate it is checking the database connection on startup. Just found out by looking into the looks where it had an entity manager error.
Remove the servlet-api.jar from build path and just add it on web-inf lib folder and then export the WAR file..it'll work...cheers..!!!