[
https://issues.jboss.org/browse/FORGE-1181?page=com.atlassian.jira.plugin...
]
George Gastaldi updated FORGE-1181:
-----------------------------------
Description:
if you create a class in the projects-api module
{code}
public abstract class AbstractProjectCommand extends AbstractUICommand
{
@Inject
protected ProjectFactory projectFactory;
}
{code}
And create a class in the javaee-impl module that extends it, the following error is
thrown:
{code}
WELD-001408 Unsatisfied dependencies for type [ProjectFactory] with qualifiers [@Default]
at injection point [[BackedAnnotatedField] @Inject protected
org.jboss.forge.addon.projects.ui.AbstractProjectCommand.projectFactory]
{code}
was:
if you create a class in the projects-api module
public abstract class AbstractProjectCommand extends AbstractUICommand
{
@Inject
protected ProjectFactory projectFactory;
}
And create a class in the javaee-impl module that extends it, the following error is
thrown:
{code}
WELD-001408 Unsatisfied dependencies for type [ProjectFactory] with qualifiers [@Default]
at injection point [[BackedAnnotatedField] @Inject protected
org.jboss.forge.addon.projects.ui.AbstractProjectCommand.projectFactory]
{code}
Inherited injection points are not be resolved
----------------------------------------------
Key: FORGE-1181
URL:
https://issues.jboss.org/browse/FORGE-1181
Project: Forge
Issue Type: Bug
Components: Furnace (Container)
Affects Versions: 2.0.0.Alpha11
Reporter: George Gastaldi
Fix For: 2.x Future
if you create a class in the projects-api module
{code}
public abstract class AbstractProjectCommand extends AbstractUICommand
{
@Inject
protected ProjectFactory projectFactory;
}
{code}
And create a class in the javaee-impl module that extends it, the following error is
thrown:
{code}
WELD-001408 Unsatisfied dependencies for type [ProjectFactory] with qualifiers [@Default]
at injection point [[BackedAnnotatedField] @Inject protected
org.jboss.forge.addon.projects.ui.AbstractProjectCommand.projectFactory]
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira