After spending several hours trying to figure out why my old sample codes won't run on Glassfish 4.0 and Java EE 7, I found out that the problem was actually with the new XML schemas for Java.
You can find more information about the new XML schemas for Java EE deployment descriptors on Oracle's website. You can also find more information about GlassFish Server Documentation on GitHub Pages.
I figured out that the problem was actually with the XML Schemas below which I had to update back to the old version.
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:f="http://xmlns.jcp.org/jsf/core"
Working Version
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
I receive a response from this site, which answered why the situation was like that and provided another solution.
Comments
Post a Comment