Announcement Announcement Module
Collapse
No announcement yet.
SAXParseException when parsing applicationContext-jpa.xml Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SAXParseException when parsing applicationContext-jpa.xml

    Hello,

    I'm having problems when trying to run a sample Spring Roo project with JPA and GWT.

    When Jetty starts up the war application I receive the following error which is caused by the applicationContext-jpa.xml configuration file:
    Code:
    Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'repositories'.
    Here is the applicationContext-jpa.xml file contents:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans:beans xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/data/jpa"
      xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
      
      <repositories base-package="com.react.rrcgwt.core" />
    
    </beans:beans>
    Any ideas on how to solve this issue would be appreciated

    Regards
    Last edited by Eisdieler; Nov 9th, 2012, 06:36 AM.
Working...
X