I’m new to MyEclipse and WebLogic, so I apologize if this is an easy question. I have created an instance of WebLogic 8.1 that I can start and stop inside of MyEclipse.
I also created a simple EAR file to test that I can run the develop/test/deploy cycle but I cannot seem to get the EAR file deployed properly.
Here are my WebLogic settings
BEA Home directory = c:\bea
WebLogic installation directory = c:\bea\weblogic81
Executino domain root = C:\bea\user_projects\domains
Execution domain name = mydomain
Execution server name = myserver
Hostname:portNumber = localhost:7001
Security policy file =C:\bea\weblogic81\server\lib\weblogic.policy
The error I’m getting is the following:
\user_projects\domains\mydomain\applications’, Module: ‘HelloWeb’]: Deployment descriptor “web.xml” is malformed. Check against the DTD: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element ‘web-app’. (line 2, column 221).>
Here are the first two lines out of the web.xml
<?xml version=”1.0″ encoding=”UTF-8″?>
<web-app xmlns=”http://java.sun.com/xml/ns/j2ee” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” version=”2.4″ xsi:schemaLocation=”http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd”>
Any ideas?