Where did http://java.sun.com/jsf/ go? [closed]
I'm just starting a JSF2.0 project and eclipse is giving me an error when it's trying to look up http://java.sun.com/jsf/html, http://java.sun.com/jsf/core, etc. I tried loading the URLs in a brows开发者_如何学JAVAer, but I get a giant "Sorry! We couldn't find your document." from Oracle.com Searching oracle.com didn't help much either. it produced one link on "Oracle*SaaS*Platform:*" when searching for 'jsf spec'. Can anyone offer a solution or suggest an alternative that can be used? I'm on Weblogic 10.3.4 and using PrimeFaces
Those are not URLs. They don't point to resources; they're just identifiers.
You are probably targeting a servlet container that doesn't implement the full Java EE web profile (e.g. Tomcat). You need to add your own implementation (Mojarra or MyFaces) or switch servers (e.g. Glassfish or JBoss).
精彩评论