geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-4381) Better error message for trying to inject String arrays
Date Tue, 28 Oct 2008 14:10:44 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-4381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643216#action_12643216
] 

Jarek Gawor commented on GERONIMO-4381:
---------------------------------------

Can you please (and always) attach full stack trace? It will help to track down the problem
much faster.


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