-
deployment error (3 messages)
- Posted by: Shawn Martin
- Posted on: December 13 2004 14:21 EST
Hello all!!
I have created a web application using NetBeans w/Tomcat and am attempting to deploy the application to WebLogic 8.1 and have encountered an error that I cannot get around.
The "<web-app>" descriptor looks like the following:
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
When I deploy the war file to Weblogic I get the following error:
"...Check against the DTD: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'web-app'..."
If I reform the entry to be just "<web-app>" and add a doctype declaration the application deploys but all Expression Language strings appear as strings on the JSP pages as opposed to rendering the content indicated by the expression.
I'm not sure where to even begin to correct this? Any Ideas??Threaded Messages (3)
- deployment error by Shawn Martin on February 02 2005 13:02 EST
- Re: deployment error by shreenee josh on March 16 2007 12:35 EDT
- Version Mismatch by jagan nathan on July 04 2011 14:19 EDT
-
deployment error[ Go to top ]
- Posted by: Shawn Martin
- Posted on: February 02 2005 13:02 EST
- in response to Shawn Martin
It turned out that the new doucument descriptor is not supported in WebLoggic 8.1. Had to revert to the following:
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd"
> -
Re: deployment error[ Go to top ]
- Posted by: shreenee josh
- Posted on: March 16 2007 12:35 EDT
- in response to Shawn Martin
Thanks for updating the post with resolution. You saved my time. cheers shrini -
Version Mismatch[ Go to top ]
- Posted by: jagan nathan
- Posted on: July 04 2011 14:19 EDT
- in response to Shawn Martin
Just got a doubt regarding the Version of the XML Name Space . Over the Shawn Martin's code it was on the Version 2.4 but over the Corrected code of urs it is the version is 2.3 . Will this mismatch have an impact?
Thanks in advance