Trouble-shooting:
If you experience the following problem (when running the application
within Eclipse), it is because there is some conflict with the two jar
files - org.springsource.javax.servlet-2.5.0.jar and org.springsource.javax.servlet.jsp-2.1.0.jar. Please remove these two files from the WORKSPACE/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/petclinic_sdk/WEB-INF/lib directory.
org.apache.jasper.JasperException:
/WEB-INF/jsp/uncaughtException.jsp(1,1) /WEB-INF/jsp/includes.jsp(3,62)
Unable to read TLD "META-INF/c.tld" from JAR file
"file:/D:/eclipse-jee-indigo-SR2-win32/project/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/petclinic_sdk/WEB-INF/lib/com.springsource.javax.servlet.jsp.jstl-1.2.0.jar":
org.apache.jasper.JasperException: Failed to load or instantiate
TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
|
Trouble-shooting:
If you experience the following problem, please make sure all the
libraries are loaded from the net. (In some cases, your company's
firewall might prevent the library files from being downloaded from the
repository server in the public net. Of course, one easy work-around is
to run the project once at home where you don't have that firewall
restriction. Once those files are downloaded, they will be installed in
your home repository so you would not have the problem even if you are
running it at work with the firewall.)
404 error with java.lang.CLassNotFoundException: org.springframework.web.context.ContextLoaderListener
|
You also want to make sure Maven Dependencies is included to the Web
Deployment Assembly as shown below. If not, please add it by right
clicking the project and selecting Properties -> Delployment
Assembly -> Add -> Java Build Path Entries -> Maver
Dependencies.