[
https://issues.jboss.org/browse/JBSEAM-4637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579758#comment-12579758
]
henry katz commented on JBSEAM-4637:
------------------------------------
Apologies but I have just replicated the above exception under 2.2.1.Final:
1:06:28,272 INFO [javax.servlet.ServletContextListener] Welcome to Seam
2.2.1.Final
.
.
.
01:06:40,722 INFO [javax.enterprise.resource.webcontainer.jsf.config]
Unsanitized stacktrace from failed start...:
javax.faces.view.facelets.FaceletException: Must have a Constructor that takes
in a ComponentConfig
at
com.sun.faces.facelets.tag.AbstractTagLibrary$UserComponentHandlerFactory.<init>(AbstractTagLibrary.java:292)
[:2.0.3-]
at
com.sun.faces.facelets.tag.AbstractTagLibrary.addComponent(AbstractTagLibrary.java:522)
[:2.0.3-]
at
com.sun.faces.facelets.tag.TagLibraryImpl.putComponent(TagLibraryImpl.java:111)
[:2.0.3-]
.
.
.
Caused by: java.lang.NoSuchMethodException:
org.jboss.seam.ui.handler.CommandButtonParameterComponentHandler.<init>(javax.faces.view.facelets.ComponentConfig)
at java.lang.Class.getConstructor0(Class.java:2706) [:1.6.0_23]
This was also
01:06:32,344 INFO [javax.enterprise.resource.webcontainer.jsf.config]
Initializing Mojarra 2.0.3 ( b05) for context '
Still seeking the holy grail, the JSF 2/RF 4/Seam 2 triumvirate.
Henry
> Seam does not work with JSF 2.0 faces-config.xml
> ------------------------------------------------
>
> Key: JBSEAM-4637
> URL: https://issues.jboss.org/browse/JBSEAM-4637
> Project: Seam
> Issue Type: Bug
> Components: JSF Integration
> Affects Versions: 2.2.1.CR1
> Reporter: Ryan Nideffer
> Assignee: Marek Novotny
> Labels: jsf2, seam-ui
>
> I am attempting to use JSF 2.0 in my Seam application for, among other
> benefits, composite components. I am able to upgrade the jsf-api.jar and
> jsf-impl.jar, remove jsf-facelets.jar and my application functions fine,
> however I am still running in JSF 1.2 mode due to this faces-config.xml:
> <faces-config version="1.2"
> xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
> <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
> According to thread comments from a Mojarra developer and the Release Notes
> for Mojarra 2, all thats needed is to remove the view-handler and reference
> v2.0 in faces-config.
> http://forums.java.net/jive/message.jspa?messageID=373539
> https://javaserverfaces.dev.java.net/nonav/rlnotes/2.0.1/releasenotes.html
> As soon as I do this though, I get the following exception when my
> application is deployed:
> 2010-04-16 11:24:18,249 INFO
> [javax.enterprise.resource.webcontainer.jsf.config] (Thread-2) Unsanitized
> stacktrace from failed start...
> javax.faces.view.facelets.FaceletException: Must have a Constructor that
> takes in a ComponentConfig
> at
> com.sun.faces.facelets.tag.AbstractTagLibrary$UserComponentHandlerFactory.<init>(AbstractTagLibrary.java:289)
> ...
> Caused by: java.lang.NoSuchMethodException:
> org.jboss.seam.ui.handler.CommandButtonParameterComponentHandler.<init>(javax.faces.view.facelets.ComponentConfig)
> at java.lang.Class.getConstructor0(Class.java:2706)
> According to Dan Allen, Seam 2 and JSF 2 work together beautifully:
> http://seamframework.org/Documentation/DoesSeamWorkWithJSF2
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues