2009-09-15 4 views
1
content of The application-content.xml is 
<?xml version="1.0" encoding="utf-8"?> 
<objects xmlns="http://www.springactionscript.org/schema/objects" 
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
     xsi:schemaLocation="http://www.springactionscript.org/schema/objects 
           http://www.springactionscript.org/schema/objects/spring-actionscript-objects-1.0.xsd"> 

    <property file="strings.properties" /> 

    <object id="string1" class="String"/> 
    <object id="string2" class="String"/> 
    <object id="nlslzf" class="com.sgb.model.MyClass"/> 

</objects> 
contenu

de strings.properties est:problème application context.xml pour le printemps ActionScript

s1=Firststring 
s2=Secondstring 

mais l'erreur:

Main Thread (Suspended: Error: An object definition for 'string1' was not found.) 
       org.springextensions.actionscript.ioc.factory.support::AbstractObjectFactory/getObject 
       SpringActionScript/test 
       SpringActionScript/onCreationComplete 
       SpringActionScript/___SpringActionScript_Application1_creationComplete 
       flash.events::EventDispatcher/dispatchEventFunction [no source] 
       mx.core::UIComponent/dispatchEvent 
       mx.core::UIComponent/set initialized  
       mx.managers::LayoutManager/doPhasedInstantiation  
       Function/http://adobe.com/AS3/2006/builtin::apply [no source] 
       mx.core::UIComponent/callLaterDispatcher2 
       mx.core::UIComponent/callLaterDispatcher2 
       mx.core::UIComponent/callLaterDispatcher  

je peux courir normal si enlevé le '' pourquoi c'est? bug springactionscript?

+0

S'il vous plaît modifier ce paramètre. Séparer le code de la question réelle. – erelender

Répondre

0

Cela "sent" en effet comme un bug de Spring Actionscript. S'il vous plaît déposer un rapport de bogue pour cela dans notre système JIRA:

SpringAS JIRA

Si vous pouvez, ajoutez un exemple de projet qui démontre le bug, de cette façon, nous serons en mesure de retrouver la question plus facile et plus rapide .

Merci beaucoup à l'avance,

Roland

Questions connexes