Announcement Announcement Module
No announcement yet.
locally resolving XSD files on startup -- eclipse application with buddy plugin Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • locally resolving XSD files on startup -- eclipse application with buddy plugin

    I am using Spring in an eclipse application. I find that when I am not connected to the internet, the application context cannot be read properly. When I am connected to the internet, my eclipse application that uses spring starts fine. Here's the error when I am disconnected. I am assuming that this is because the xsd files cannot be resolved locally. After searching the forums and other internet searches I cannot find an answer to my issue easily.

    I have been unable to find how to force an eclipse application to find the xsd files correctly at runtime when the spring.jar file is in another plugin and buddy registered to the main plugin that holds my application.

    Thoughts? A quick link to get me pointed in the right direction would be great.

    Caused by: org.springframework.beans.factory.BeanDefinitionSt oreException: Line 13 in XML document from class path resource [etc/AppObjects.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.doLoadBeanDefinitions(XmlBeanDefinitio
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR
    at BeanDefinitionReader.loadBeanDefinitions(AbstractB
    at BeanDefinitionReader.loadBeanDefinitions(AbstractB
    at BeanDefinitionReader.loadBeanDefinitions(AbstractB

    The top part of application context file:

    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns=""