[jbosstools-issues] [JBoss JIRA] (JBIDE-17858) Can't resolve context variable of a built-in Seam component in imported Seam project

Alexey Kazakov (JIRA) issues at jboss.org
Mon Jul 14 17:56:29 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-17858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984928#comment-12984928 ] 

Alexey Kazakov commented on JBIDE-17858:
----------------------------------------

The problem is in JBoss Tools maven adapter for Seam projects. It doesn't work well with EJB projects. Seam tools require special settings for such projects. Components.xml is places in the chatroom-web project which depends on the chatroom-ejb project so when you validate the web project it's aware of the ejb components. But the EJB project knows nothing about the web project and its components declared in its components.xml.
To place both project in the same context you have to go to *Project Setting* (for chatroom-ejb project) -> *Seam Settings* and set *chatroom-web* as a Main Seam project. Then rebuild both projects.

> Can't resolve context variable of a built-in Seam component in imported Seam project
> ------------------------------------------------------------------------------------
>
>                 Key: JBIDE-17858
>                 URL: https://issues.jboss.org/browse/JBIDE-17858
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: seam2
>         Environment: JBDS 8.0.0.Beta3
>            Reporter: Ron Šmeral
>            Assignee: Alexey Kazakov
>             Fix For: 4.2.0.CR1
>
>
> Unknown context variable name: "topicPublisher"	
> ChatRoomAction.java	
> /chatroom-ejb/src/main/java/org/jboss/seam/example/remoting/chatroom
> line 26
> Seam Problem



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the jbosstools-issues mailing list