Results 1 to 3 of 3

Thread: Entities inclusion raises error

  1. #1
    Join Date
    Sep 2004
    Posts
    15

    Default Entities inclusion raises error

    In my config if I include an entities file in the DOCTYPE declaration I get an Unsupported DTD error and cant do anything more with it.

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"
    [<!ENTITY % abc PUBLIC "-//AOL//ENTITIES abc entities" "./abc.ent">
    %abc;]>
    <beans>
    ...
    ...
    </beans>

    Can this be fixed ?
    Rgds,

    Ultan

  2. #2
    Join Date
    Sep 2004
    Posts
    15

    Default

    more info:

    in the Spring Beans view I can see the config files I have added
    clicking the + symbol, I see nothing below - as if no beans have been found
    right-clicking and choosing Show Graph, opens a blank window and sounds a bell

    ive tried to install several times - ive zapped the plugin and feature directories of everything org.springframework

    ive tried on 2.1 and 3.01 to no avail.

    Im seeing this in the .log

    java.version=1.4.2_04
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86 -install file:C:/eclipse/eclipse/
    !ENTRY org.eclipse.ui 4 4 Jan 14, 2005 16:07:07.400
    !MESSAGE Unhandled exception caught in event loop.
    !ENTRY org.eclipse.ui 4 0 Jan 14, 2005 16:07:07.410
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
    at org.springframework.ide.eclipse.beans.ui.model.Bea nsConfigReader.registerBeanProperty(BeansConfigRea der.java:69)
    at org.springframework.ide.eclipse.beans.core.parser. BeanDefinitionParser.parsePropertyElement(BeanDefi nitionParser.java:105)
    at org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser.getPropertyValueSubElements(Def aultXmlBeanDefinitionParser.java:349)
    at org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser.parseBeanDefinition(DefaultXmlB eanDefinitionParser.java:253)
    at org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser.parseBeanDefinition(DefaultXmlB eanDefinitionParser.java:218)
    at org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser.registerBeanDefinition(DefaultX mlBeanDefinitionParser.java:186)
    at org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser.registerBeanDefinitions(Default XmlBeanDefinitionParser.java:155)
    at org.springframework.ide.eclipse.beans.core.parser. BeanDefinitionParser.registerBeanDefinitions(BeanD efinitionParser.java:61)
    at org.springframework.ide.eclipse.beans.core.parser. BeanDefinitionReader.loadBeanDefinitions(BeanDefin itionReader.java:106)
    Rgds,

    Ultan

  3. #3
    Join Date
    Sep 2004
    Posts
    15

    Default

    Fixed the graphic side of things by upgrading the feature to 1.0.3
    Rgds,

    Ultan

Similar Threads

  1. ERROR: Context initialization failed
    By makhlo in forum Architecture
    Replies: 8
    Last Post: Jul 11th, 2008, 01:41 AM
  2. Context initialization failed
    By kanonmicke in forum Container
    Replies: 7
    Last Post: Sep 29th, 2005, 12:35 AM
  3. could not satisfy dependencies
    By springuser in forum Container
    Replies: 4
    Last Post: Apr 26th, 2005, 01:15 PM
  4. Replies: 1
    Last Post: Apr 25th, 2005, 07:37 PM
  5. Replies: 4
    Last Post: Nov 5th, 2004, 03:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •