Date: 2004-05-07T07:23:25 Editor: PhilipMarkDonaghy <[EMAIL PROTECTED]> Wiki: Apache Geronimo Wiki Page: HowToTutorial URL: http://wiki.apache.org/geronimo/HowToTutorial
Solved the jasper compiler problem. Removed some unecessary text. Change Log: ------------------------------------------------------------------------------ @@ -26,18 +26,11 @@ I had a small problem here... -org.apache.geronimo.deployment.DeploymentException: Unable to parse web.xml +org.apache.geronimo.deployment.Deployment Exception: Unable to parse web.xml Hmm... -WARConfigBuilder.java Line 214 : WebAppDocument doc = (WebAppDocument) XmlBeansUtil.parse(new BufferedInputStream(is), WebAppDocument.type); - -Hmm... -org.apache.xmlbeans.SchemaTypeLoader.parse(InputStream, SchemaType, XmlOptions) - -Hmm... - -Modified the hello1/build/WEB-INF/web.xml using the incubator-geronimo/target/config-store/5/war/WEB-INF/web.xml (remove servlet config and change index.vm to index.jsp) +Modify the hello1/build/WEB-INF/web.xml using the incubator-geronimo/target/config-store/5/war/WEB-INF/web.xml (remove servlet config and change index.vm to index.jsp) java -jar bin/deployer.jar --install --module ../../../j2eetutorial14/examples/web/hello1/build/j2eehello1.war @@ -53,7 +46,7 @@ Hmm... 17:37:14,380 WARN [ServletHandler] Exception for /j2eehello1/ -org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application +org.apache.jasper.Jasper Exception: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application This is a problem with the java tag library defined in index.jsp @@ -62,3 +55,9 @@ HTTP ERROR: 500 Unable+to+compile+class+for+JSP%0A%0ANo+Java+compiler+was+found+to+compile+the+generated+source+for+the+JSP%2E+%0AThis+can+usually+be+solved+by+copying+manually+%24JAVA%5FHOME%2Flib%2Ftools%2Ejar+from+the+JDK+%0Ato+the+common%2Flib+directory+of+the+Tomcat+server%2C+followed+by+a+Tomcat+restart%2E+%0AIf+using+an+alternate+Java+compiler%2C+please+check+its+installation+and+access+path%2E%0A Hmm...Jasper is not happy. Question : Does geronimo prefer velocity to jsp. Why not? + +Put $JAVA_HOME/lib/tools.jar in $JAVA_HOME/jre/lib/ext directory + +Success...I can see the text in index.jsp + +Now solve the tag library problem.
