Announcement Announcement Module
Collapse
No announcement yet.
Entities inclusion raises error Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 ?

  • #2
    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)

    Comment


    • #3
      Fixed the graphic side of things by upgrading the feature to 1.0.3

      Comment

      Working...
      X