|
From: Dominik B. (JIRA) <no...@sp...> - 2008-03-20 22:22:05
|
Showcase sample: Namespace of images and duplicate command definition
---------------------------------------------------------------------
Key: RCP-548
URL: http://jira.springframework.org/browse/RCP-548
Project: Spring Framework Rich Client Project
Issue Type: Bug
Components: Samples
Affects Versions: 1.0.0
Reporter: Dominik Breitbeil
Priority: Minor
The showcase sample won't start in version 1.0.0. There are two configuration problems
1. The ImageSource bean can't be initialized. See http://forum.springframework.org/showthread.php?t=51384 for the exception.
As the spring-rich images are now in a namespaced package the resourceBasePath of the imageResourcesFactory should be removed in richclient-application.context.xml.
2. The aboutCommand is definied twice in commands-context.xml.
This will lead to:
java.lang.IllegalStateException: Application start thrown an exception: Line 299 in XML document from class path resource [org/springframework/richclient/samples/showcase/ui/commands-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-id.2: There are multiple occurrences of ID value 'aboutCommand'.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|