You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-user@incubator.apache.org by Döring Markus <Ma...@tcc-products.de> on 2006/09/29 08:14:49 UTC

Trinidad and Facelets

Hello,
i'm trying to get a simple web-app running using MyFaces1.1.4, Trinidad M1 and Facelets.
I tried around with the sample in the wiki but I don't get it working.

My web.xml is the same as http://wiki.apache.org/myfaces/Facelets_with_Trinidad (bottom of page)
My faces-config.xml is: 
<?xml version="1.0"?>
<!DOCTYPE faces-config PUBLIC
  "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
  "http://java.sun.com/dtd/web-facesconfig_1_1.dtd" >
<faces-config>
	<application>
		<default-render-kit-id>
			org.apache.myfaces.trinidad.core
		</default-render-kit-id>
		<locale-config>
			<default-locale>de</default-locale>
			<supported-locale>en</supported-locale>
		</locale-config>
	</application>
	<render-kit></render-kit>
</faces-config>

And my xhtml is:
<tr:document xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:tr="http://myfaces.apache.org/trinidad" title="Facelets">
	<tr:form>
		<tr:inputText label="Your name" id="input1" />
		<tr:commandButton id="button1" text="press me"
			action="" />
	</tr:form>
</tr:document>

I always get the following exception when accessing the page via http://localhost/FaceletTest/faces/test.xhtml (deployed @ tomcat 5.5)

java.lang.NoClassDefFoundError: javax/el/ELException
	at com.sun.facelets.tag.AbstractTagLibrary.addTagHandler(AbstractTagLibrary.java:469)
	at com.sun.facelets.compiler.TagLibraryConfig$TagLibraryImpl.putTagHandler(TagLibraryConfig.java:90)
	at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:200)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633
...


What I'm doing wrong?
Thanks for any help

Greetings
Markus