[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8563) Alternative being not being recognized as so.
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Fri Mar 11 13:47:45 EST 2011
[ https://issues.jboss.org/browse/JBIDE-8563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587488#comment-12587488 ]
Alexey Kazakov commented on JBIDE-8563:
---------------------------------------
What I do:
1. get clone https://github.com/seam/examples/ Seam-examples
2. Open Eclipse/JBT. File->Import->Maven->Existing Maven Project->.../Seam-examples. Build the project.
3. No any errors in booking/src/main/webapp/WEB-INF/beans.xml
> Alternative being not being recognized as so.
> ---------------------------------------------
>
> Key: JBIDE-8563
> URL: https://issues.jboss.org/browse/JBIDE-8563
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi (jsr-299)
> Affects Versions: 3.2.0.Final
> Reporter: José Freitas
> Assignee: Alexey Kazakov
> Priority: Minor
> Labels: alternative, cdi
>
> the problem occurs on
> booking example:
> https://github.com/seam/examples/
> declaring on WEB-INF/beans.xml
> {code}
> <alternatives>
> <class>org.jboss.seam.examples.booking.bootstrap.ApplicationInitializer</class>
> </alternatives>
> {code}
> gives me the error check:
> {code}
> <class> element must specify the name of an alternative bean class [JSR-299 §5.1.1]
> {code}
> but the class is declared as an Alternative
> {code}
> @Alternative
> public class ApplicationInitializer{
> ...
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list