Jboss seam2.1, JBoss tools3.0beta, Eclipse3.4使用

Jboss seam从2.0到2.1, JBoss tools3.0从alpha到beta, 在Eclipse3.4上安装,还是不能装其中的Birt工具,缺一个 eclipse插件;支持seam1.2,2.0但是不支持最新的2.1。从seam2.0迁移一个工程到2.1费了很大的劲。hibernate-anotations包里的一些validator放到了另外一个jar里面,要自己加进来。权限验证也完全不同了。 回过头来用seam2.0发现facelets不能工作,报错,缺少taglib。

09:25:18,125 ERROR [compiler] Missing Built-in Tag Libraries! Make sure they are included within the META-INF directory of Facelets' Jar
09:25:18,203 ERROR [viewhandler] Error Rendering View[/login.xhtml]
java.lang.NullPointerException
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

比较seam2.1里面的jsf-facelets.jar,发现大小不同,复制过来,OK。

你可能感兴趣的:(Jboss seam2.1, JBoss tools3.0beta, Eclipse3.4使用)