Hi,
I want to use Spring 2 + Struts 2.
I am trying to do an example given in 
http://struts.apache.org/2.0.11.1/docs/struts-2-spring-2-jpa-ajax.html
http://struts.apache.org/2.0.11.1/docs/struts-2-spring-2-jpa-ajax.html 
I followed each and every step given in "Doing it yourself".
I have done exactly what he specified.I am using Tomcat 5.5 and java 1.5
I copied all the jars. But instead of mysql i am using sql server 2005. But
i copied the jar file for db connection. I am starting the server from
eclipse only. Now i am getting error like.............

SEVERE: Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Line 11 in
XML document from ServletContext resource [/WEB-INF/applicationContext.xml]
is invalid; nested exception is org.xml.sax.SAXParseException: Document root
element "beans", must match DOCTYPE root "null".
org.xml.sax.SAXParseException: Document root element "beans", must match
DOCTYPE root "null".

And in eclipse, its showing error message called
The prefix "tx" for element "tx:annotation-driven" is not bound..
To solve this i copied.... http://www.springframework.org/schema/tx 
           http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
in the beans tag-- attribute called  xsi:schemaLocation.
Even i am not getting index.jsp also.
What is the problem.
Are there any body who tried this previously.

Thanks and Regards
Ratna

-- 
View this message in context: 
http://www.nabble.com/Problem-with-Struts-2%2B-Spring-2-%2B-JPA-%2B-Ajax-tp17777018p17777018.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to