[JBoss JIRA] (JBIDE-12051) "One or more resources have the target of 'head', but no 'head' component has been defined within the view." JSF error in Seam 2.3 project
by Martin Malina (JIRA)
Martin Malina created JBIDE-12051:
-------------------------------------
Summary: "One or more resources have the target of 'head', but no 'head' component has been defined within the view." JSF error in Seam 2.3 project
Key: JBIDE-12051
URL: https://issues.jboss.org/browse/JBIDE-12051
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam 2
Affects Versions: 3.3.0.CR1
Environment: jbdevstudio-product-universal-5.0.0.v201205272317M-H143-CR1.jar
Reporter: Martin Malina
Assignee: Alexey Kazakov
Fix For: 3.3.0.CR1
When you create a seam project in the Seam Web Project wizard using Seam 2.3.0.Beta2 and JBoss AS 7.1.1, the project gets created and deployed just fine, but when you try to access it in the web browser, you get the following error in the server log:
{code}
13:13:35,347 INFO [javax.enterprise.resource.webcontainer.jsf.renderkit] (http-localhost-127.0.0.1-8080-1) WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
sourceId=null[severity=(ERROR 2), summary=(One or more resources have the target of 'head', but no 'head' component has been defined within the view.), detail=(One or more resources have the target of 'head', but no 'head' component has been defined within the view.)]
{code}
This seems to be the exact same problem as reported here: JBSEAM-4969
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] (JBIDE-9833) Quick fixes for problem markers in beans.xml
by Daniel Azarov (Created) (JIRA)
Quick fixes for problem markers in beans.xml
--------------------------------------------
Key: JBIDE-9833
URL: https://issues.jboss.org/browse/JBIDE-9833
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: CDI
Reporter: Daniel Azarov
Assignee: Daniel Azarov
Fix For: 3.3.0.M4
1. Quick fix for "There is no class with the specified name [JSR-299 §5.1.1]" problem marker
In case when Bean class or Stereotype does not exists there should be a quick fix:
"Create Bean Class/Stereotype". This quick fix should run Creation wizard for Bean Class or Stereotype with selected "Add @Alternative" option
2. Quick fix for "<class> element must specify the name of an alternative bean class [JSR-299 §5.1.1]" and "<stereotype> element must specify the name of an @Alternative stereotype annotation [JSR-299 §5.1.1]" problem markers
In case of existing of Bean Class or Stereotype and when Bean Class or Stereotype has no @Alternative annotation there should be a quick fix:
"Add @Alternative annotation to Bean Class/Stereotype"
3. Quick fix for "There is no class with the specified name [JSR-299 §9.4]/[JSR-299 §8.2]" problem markers
In case when Decorator or Interceptor does not exists there should be a quick fix:
"Create Interceptor/Decorator". This quick fix should run Creation wizard for Interceptor or Decorator
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months