[
https://issues.apache.org/jira/browse/GERONIMO-4381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jarek Gawor resolved GERONIMO-4381.
-----------------------------------
Resolution: Cannot Reproduce
Assignee: Jarek Gawor
I'm still unable to reproduce this problem. I deployed the attached ear (using
deploy.sh tool and the admin console) on 2.1.3 and all I see is:
Error: Unable to distribute calculator.ear: Unable to resolve resource
reference 'org.apache.geronimo.samples.slsb.calculator.Calculator/hello'
(Could not auto-map to resource. Try adding a resource-ref mapping to your
Geronimo deployment plan.
....
I'm resolving this issue for now but please reopen it if you can provide a new
ear file that produces this problem or describe the exact steps to recreate
this problem.
> 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
> Assignee: Jarek Gawor
> 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.