geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Weber (JIRA) <j...@apache.org>
Subject [jira] Updated: (GERONIMO-4381) Better error message for trying to inject String arrays
Date Sun, 02 Nov 2008 19:54:44 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-4381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jürgen Weber updated GERONIMO-4381:
-----------------------------------

    Attachment: src.zip

> Better error message for trying to inject String arrays
> -------------------------------------------------------
>
>                 Key: GERONIMO-4381
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4381
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: dependencies
>            Reporter: Jürgen Weber
>            Priority: Minor
>         Attachments: calculator.ear, src.zip
>
>
> I erroneously tried to inject a String array
> @Resource
> 	private String[] ...
> There should be a better error message for this than
> could not load class [Ljava.lang.String;
> org.apache.geronimo.common.DeploymentException: could not load class [Ljava.lang.String;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message