- This topic has 3 replies, 2 voices, and was last updated 14 years ago by support-shalini.
-
AuthorPosts
-
ChrisMemberAll of our xml files (applicationContext.xml, applicationContext-hibernate.xml, dispatcher-servlet.xml) point to 3.0.xsd files. For example:
<beans xmlns... . . . xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
I get an error when starting the HQL editor about parsing the xml files.
I’ve changed these to 2.0.xsd to make the editor work, but our application uses features of 3.0.
Is there an upgraded HQL package to run with Spring 3.x?We are running ME 8.6
Thanks.
support-shaliniMember7days2go,
Can you give us some more information on this?
1. What are the versions of Spring and Hibernate that you are using? Can you list out the steps in detail to replicate your issue?
2. Are there any relevant errors in the log file located at workspace dir > .metadata > .log when opening the HQL editor?
ChrisMemberWe’re using Spring 3.0.3 and Hibernate 3.2.6
I am right-clicking on the project and going to MyEclipse -> Open HQL Editor. Then I get the error popup message with the same message as below.
The .log file shows this main error followed by the stack trace.:
Line 13 in XML document from URL [file:C:/.../applicationContext.xml] is invalid; nexted exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
I’m unable to copy and paste the whole stack as the code is on another network.
Thanks
support-shaliniMember7days2go,
I am unable to replicate this at my end. Can you share your project with us? You can send a mail to support@genuitec.com with subject ATTN:Shalini with your project attached and a reference to this post. This will help me replicate the issue internally. -
AuthorPosts