Tomcat Error mit meiner ersten JSF Seite

Status
Nicht offen für weitere Antworten.

Scaryman

Mitglied
Hallo,
ich versuche mich gerade in JSF, mehr schlecht als recht. Ich habe jetzt mal dieses Tutorial durchgearbeitet. Nur leider funktioniert die Seite nicht. Ich habe exact die Anweisungen im Tutorial durchgearbeitet.





Im Tomcat ich bekomme folgenden fehler:
Code:
type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: /login.jsp(17,2) According to TLD or attribute directive in tag file, attribute value does not accept any expressions
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)


root cause 

javax.faces.FacesException: /login.jsp(17,2) According to TLD or attribute directive in tag file, attribute value does not accept any expressions
	org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:340)
	org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254)
	org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)


root cause 

org.apache.jasper.JasperException: /login.jsp(17,2) According to TLD or attribute directive in tag file, attribute value does not accept any expressions
	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
	org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1172)
	org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:819)
	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2388)
	org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2388)
	org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2388)
	org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2388)
	org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2394)
	org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
	org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:334)
	org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254)
	org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.


--------------------------------------------------------------------------------

Apache Tomcat/6.0.14

login.jsp
Code:
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<f:view>
<h:form>
	<h:panelGrid border="1" columns="2" >
		<h:outputText value="Name"></h:outputText>
		<h:inputText value="#{loginBean.name}."></h:inputText>
		<h:outputText value="Password"></h:outputText>
		<h:inputSecret value="#{loginBean.password}">
			<f:validator validatorId="com.tutorial.validatePassword"></f:validator > 
		</h:inputSecret> 
	</h:panelGrid>	
	<h:commandButton value="Login" action="login"></h:commandButton>
	</h:form>
</f:view>
</body>
</html>

web.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
  <display-name>JSFTutorial</display-name>
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
  </welcome-file-list>
  <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
  </servlet-mapping>
</web-app>

faces-config.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>

<faces-config
    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"
    version="1.2">
	<managed-bean>
		<managed-bean-name>
		loginBean</managed-bean-name>
		<managed-bean-class>
		com.tutorial.LoginBean</managed-bean-class>
		<managed-bean-scope>
		session</managed-bean-scope>
	</managed-bean>
	<navigation-rule>
		<display-name>
		login</display-name>
		<from-view-id>
		/login.jsp</from-view-id>
		<navigation-case>
			<from-outcome>
			login</from-outcome>
			<to-view-id>
			/welcome.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
	<validator>
		<display-name>
		Validate Password</display-name>
		<validator-id>
		com.tutorial.validatePassword</validator-id>
		<validator-class>
		com.tutorial.validatePassword</validator-class>
	</validator>

</faces-config>

Vielen dank im Voraus
 
M

maki

Gast
Das ist der Hinweis aud dein Problem:

org.apache.jasper.JasperException: /login.jsp(17,2) According to TLD or attribute directive in tag file, attribute value does not accept any expressions

Man gehe in Zeile 17 der login.jsp, und was findet man da?

<h:inputText value="#{loginBean.name}."></h:inputText>

Was macht dieser Punkt da? ;)
 

Scaryman

Mitglied
Hallo erst einam Danke für deine Hilfe, jedoch war das nicht das Problem. Nun kommt.


Code:
javax.servlet.ServletException: /login.jsp(16,2) According to TLD or attribute directive in tag file, attribute value does not accept any expressions
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)

Und in der Zeile sehe ich keinen Punkt der zuviel ist :)
 

Scaryman

Mitglied
Gerne, ich habe da noch "<f:loadBundle basename="com.tutorial.messages" var="msg"/>" eingeügt. Das hatte ich im Tutorial ausgelassen, aber daran lag es auch nicht.

Code:
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>JSF Tutorial</title>
</head>
<body>
<f:view>
<f:loadBundle basename="com.tutorial.messages" var="msg"/>
<h:messages></h:messages>
<h:form>	
	<h:panelGrid border="1" columns="2" >
		<h:outputText value="#{msg.name}" ></h:outputText>
		<h:inputText value="#{loginBean.name}"></h:inputText>
		<h:outputText value="#{msg.password}"></h:outputText>
		<h:inputSecret value="#{loginBean.password}">
			<f:validator validatorId="com.tutorial.validatePassword"></f:validator >
		</h:inputSecret>
	</h:panelGrid>
	<h:commandButton value="Login" action="login"></h:commandButton>
	</h:form>
</f:view>
</body>
</html>
 
M

maki

Gast
Komische Sache, sollte eigentlich alles funktionieren, wenn man davon ausgeht, das Tomcat auch die aktuellen Versionen der JSP Seiten hat.

An deiner Stelle würde ich anfangen, solange auszukommentieren (mit <%-- und --%> ), bis es funzt oder sich die Fehlermeldung ändert.

Der Punkt vorhin war wirklich kein Problem, da wäre nur ein Punkt angehängt worden, nix weiter.
 

Scaryman

Mitglied
Also wenn ich den ganzen JSF Kram Auskommentiere kommt folgendes:

Code:
type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: org/apache/commons/codec/binary/Base64
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)


root cause 

java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64
	org.apache.myfaces.shared_impl.util.StateUtils.encode(StateUtils.java:223)
	org.apache.myfaces.shared_impl.util.StateUtils.construct(StateUtils.java:148)
	org.apache.myfaces.renderkit.html.HtmlResponseStateManager.writeViewStateField(HtmlResponseStateManager.java:102)
	org.apache.myfaces.renderkit.html.HtmlResponseStateManager.writeState(HtmlResponseStateManager.java:88)
	javax.faces.render.ResponseStateManager.writeState(ResponseStateManager.java:64)
	org.apache.myfaces.application.jsp.JspStateManagerImpl.writeState(JspStateManagerImpl.java:463)
	javax.faces.application.StateManager.writeState(StateManager.java:88)
	org.apache.myfaces.application.jsp.JspViewHandlerImpl$StateMarkerAwareWriter.flushToWriter(JspViewHandlerImpl.java:389)
	org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:322)
	org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.



Meine login.jsp
Code:
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>JSF Tutorial</title>
</head>
<body>
<%-- 
<f:view>
<f:loadBundle basename="com.tutorial.messages" var="msg"/>
<h:messages></h:messages>
<h:form>	
	<h:panelGrid border="1" columns="2" >
		<h:outputText value="#{msg.name}" ></h:outputText>
		<h:inputText value="#{loginBean.name}"></h:inputText>
		<h:outputText value="#{msg.password}"></h:outputText>
		<h:inputSecret value="#{loginBean.password}">
			<f:validator validatorId="com.tutorial.validatePassword"></f:validator >
		</h:inputSecret>
	</h:panelGrid>
	<h:commandButton value="Login" action="login"></h:commandButton>
	</h:form>
</f:view>
--%>
</body>
</html>
 

Scaryman

Mitglied
Also die Meldung hat sich geändert.

Die Login.jsp (Der Body teil) sieht nun so aus, der rest ist wie oben:

Code:
<body>

<f:view>
<h:form>	
	<h:panelGrid border="1" columns="2" >
		 <%-- <h:outputText value="Name" ></h:outputText> 
		 <h:inputText value="#{loginBean.name}"></h:inputText>
		 <h:outputText value="Passwort"></h:outputText> 
		 <h:inputSecret value="#{loginBean.password}">
			<f:validator validatorId="com.tutorial.validatePassword"></f:validator >
		</h:inputSecret> --%>
	</h:panelGrid>
	<h:commandButton value="Login" action="login"></h:commandButton>
	</h:form>
</f:view>

</body>

Hier die neue Meldung:

Code:
type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: Unable to convert string "Login" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)


root cause 

javax.faces.FacesException: Unable to convert string "Login" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager
	org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:340)
	org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254)
	org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)


root cause 

org.apache.jasper.JasperException: Unable to convert string "Login" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager
	org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:887)
	org.apache.jsp.login_jsp._jspx_meth_h_005fcommandButton_005f0(login_jsp.java:188)
	org.apache.jsp.login_jsp._jspx_meth_h_005fform_005f0(login_jsp.java:156)
	org.apache.jsp.login_jsp._jspx_meth_f_005fview_005f0(login_jsp.java:112)
	org.apache.jsp.login_jsp._jspService(login_jsp.java:74)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:334)
	org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254)
	org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
 
M

maki

Gast
Gibt es vielleciht noch andere Logausgaben die hier fehlen?

Hab langsam das Gefühl das etwas mit deiner TC Intallation nicht stimmt.. hmm.. keine Ahnung... bin verwirrt..
 

Scaryman

Mitglied
Hallo, erstnochmal vielen dank für deine Mühe. Ich bin hier auch etwas verwirt ich habe 0 Ahnung woran das liegen könnte. Den Tomcat habe ganz normal Installiert und nutze ihn im Eclipse. Die Beispiele die beim Tomcat dabei sind funktionieren auch einwandfrei.

Hier die Logdatei die ich noch habe.

Code:
20.09.2007 12:45:43 org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.6.0_02\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jre1.6.0_02\bin\client;C:\Program Files\Java\jre1.6.0_02\bin;C:\Program Files\MiKTeX 2.6\miktex\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\QuickTime\QTSystem\
20.09.2007 12:45:43 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
20.09.2007 12:45:43 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 246 ms
20.09.2007 12:45:43 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
20.09.2007 12:45:43 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
20.09.2007 12:45:44 org.apache.myfaces.config.FacesConfigurator feedStandardConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
20.09.2007 12:45:44 org.apache.myfaces.config.FacesConfigurator feedWebAppConfig
INFO: Reading config /WEB-INF/faces-config.xml
20.09.2007 12:45:44 org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : myfaces-api in version : 1.2.0 from path : file:/C:/Users/HomePlace/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/JSFTutorial/WEB-INF/lib/myfaces-api-1.2.0.jar
20.09.2007 12:45:44 org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : myfaces-impl in version : 1.2.0 from path : file:/C:/Users/HomePlace/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/JSFTutorial/WEB-INF/lib/myfaces-impl-1.2.0.jar
20.09.2007 12:45:44 org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: MyFaces-package : tomahawk-sandbox not found.
20.09.2007 12:45:44 org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: MyFaces-package : tomahawk not found.
20.09.2007 12:45:44 org.apache.myfaces.shared_impl.util.LocaleUtils toLocale
WARNUNG: Locale name in faces-config.xml null or empty, setting locale to default locale : de_DE
20.09.2007 12:45:44 org.apache.myfaces.config.FacesConfigurator handleSerialFactory
INFO: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
20.09.2007 12:45:44 org.apache.myfaces.webapp.DefaultFacesInitializer initFaces
INFO: ServletContext 'C:\Users\HomePlace\Workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\JSFTutorial\' initialized.
20.09.2007 12:45:44 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
20.09.2007 12:45:44 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
20.09.2007 12:45:44 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/0  config=null
20.09.2007 12:45:44 org.apache.catalina.startup.Catalina start
INFO: Server startup in 480 ms
20.09.2007 12:45:46 org.apache.catalina.core.ApplicationDispatcher invoke
SCHWERWIEGEND: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to convert string "1" to class "javax.el.ValueExpression" for attribute "border": Property Editor not registered with the PropertyEditorManager
	at org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:887)
	at org.apache.jsp.login_jsp._jspx_meth_h_005fpanelGrid_005f0(login_jsp.java:193)
	at org.apache.jsp.login_jsp._jspx_meth_h_005fform_005f0(login_jsp.java:156)
	at org.apache.jsp.login_jsp._jspx_meth_f_005fview_005f0(login_jsp.java:115)
	at org.apache.jsp.login_jsp._jspService(login_jsp.java:77)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
	at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:334)
	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254)
	at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Unknown Source)
20.09.2007 12:45:46 org.apache.catalina.core.StandardWrapperValve invoke
SCHWERWIEGEND: Servlet.service() for servlet Faces Servlet threw exception
org.apache.jasper.JasperException: Unable to convert string "1" to class "javax.el.ValueExpression" for attribute "border": Property Editor not registered with the PropertyEditorManager
	at org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:887)
	at org.apache.jsp.login_jsp._jspx_meth_h_005fpanelGrid_005f0(login_jsp.java:193)
	at org.apache.jsp.login_jsp._jspx_meth_h_005fform_005f0(login_jsp.java:156)
	at org.apache.jsp.login_jsp._jspx_meth_f_005fview_005f0(login_jsp.java:115)
	at org.apache.jsp.login_jsp._jspService(login_jsp.java:77)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
	at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:334)
	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254)
	at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Unknown Source)
 
M

maki

Gast
Weclhe Eclipse Version benutzt du?

Mit meiner Version (3.2 + Exadel Studio Pro 4.0a) kann ich TC 6 gar nicht als Server Runtime auswählen, nur bis zur 5.5 version.

Wenn ich verzweifelt wäre, würde ich es auf TC 5.5 probieren.

Sorry, aber mir fällt nix anderes mehr ein..
 
M

maki

Gast
http://mail-archives.apache.org/mod_mbox/myfaces-users/200707.mbox/%3Cf8absf$e8g$1@sea.gmane.org%3E

Hast du eine standard.jar?
 
M

maki

Gast
Offensichtlich findet er die Taglibs nicht..

Ist das Projekt als Web Projekt drinnen?
Bei mir gehen solche Einstellungen immer verloren, wenn ich einen Import mache :(
 

Scaryman

Mitglied
Ja, habe wieder alles so gemacht wie im tut, das Problem das er die Tags nicht findet hatte ich nicht als ich die standard.jar noch importiert hatte.

Ich habe auch nichts Kopiert sondern alles neu angelegt. Ich werde hier noch wahnsinnig.
 

Scaryman

Mitglied
So habe es geschaft, nach dem 30 Neustart ging es nun. Weshalb weiß ich nicht ich weiß nur das es nun geht :)


Vielen dank für deine Hilfe.
 
Status
Nicht offen für weitere Antworten.
Ähnliche Java Themen
  Titel Forum Antworten Datum
Bluedaishi Apache Tomcat 9 Java Basics - Anfänger-Themen 7
A Tomcat response drosseln Java Basics - Anfänger-Themen 2
G Tomcat Form-based Authentifizierung Java Basics - Anfänger-Themen 0
R OutOfmemory Exception bei sehr großer Liste (Tomcat Webservice) Java Basics - Anfänger-Themen 4
H Tomcat -> Lucene NoClassDefFound-Exception Java Basics - Anfänger-Themen 4
D Tomcat - Deploy von Webanwendung Java Basics - Anfänger-Themen 9
S In Eclipse relativen Pfad fuer Tomcat Server erstellen..? Java Basics - Anfänger-Themen 3
Povlsen84 [javafx] Zusammenarbeit mit Tomcat Java Basics - Anfänger-Themen 4
I Probleme mit Tomcat / Servlet auf Linux (Debian) Java Basics - Anfänger-Themen 7
Z Tomcat Server Kommunikation zu Client Applet Java Basics - Anfänger-Themen 5
M tomcat Projekte und geschützte Dateien Java Basics - Anfänger-Themen 9
J tomcat 4.1.39 experimente 8) Java Basics - Anfänger-Themen 4
G Tomcat Tutorial. Java Basics - Anfänger-Themen 8
G http-Port beim Apache Tomcat ändern Java Basics - Anfänger-Themen 1
E Frage zu eclipse , Tomcat , Debugging Java Basics - Anfänger-Themen 7
N FileClassLoader läuft nicht in Tomcat Java Basics - Anfänger-Themen 5
G Apache Tomcat startet nicht da JAVA_HOME nicht definiert Java Basics - Anfänger-Themen 3
G Context Listener des Apache Tomcat verwenden Java Basics - Anfänger-Themen 4
G http-Request auf Apache Tomcat Java Basics - Anfänger-Themen 13
G Log-Datei wird nur in Eclipse aber nicht auf Tomcat erzeugt Java Basics - Anfänger-Themen 5
P kann seiten aus tomcat nicht aufrufen Java Basics - Anfänger-Themen 3
G tomcat und class files Java Basics - Anfänger-Themen 5
G Servlets: Erwartete/Angelegte Pfade von Tomcat/Eclipse Java Basics - Anfänger-Themen 2
D Eclipse & Tomcat Java Basics - Anfänger-Themen 2
K Eclipse - Sysdeo Plugin - Tomcat Server Java Basics - Anfänger-Themen 2
W Fehlermeldung beim start des Tomcat Java Basics - Anfänger-Themen 4
G Was bedeutet diese Fehlermeldung von Tomcat Java Basics - Anfänger-Themen 29
G hilfe jsp/servlet,jdbc api running on tomcat server+webProxy Java Basics - Anfänger-Themen 8
G war-Dateien im Tomcat löschen Java Basics - Anfänger-Themen 2
C Servlet & tomcat 5.0.28 Java Basics - Anfänger-Themen 7
I Tomcat unter Suse Linux installieren Java Basics - Anfänger-Themen 35
Z Servlet/Tomcat Problem Java Basics - Anfänger-Themen 3
I Exception wird gefangen, aber trotzdem in Error Log? Java Basics - Anfänger-Themen 10
terashy VS Code Project run error Java Basics - Anfänger-Themen 10
monsterherz Circle.java:5: error: <identifier> expected Java Basics - Anfänger-Themen 2
monsterherz error: <identifier> expected Java Basics - Anfänger-Themen 2
R Compiler-Fehler identifier error? Java Basics - Anfänger-Themen 3
N Compiler-Fehler Not a statement Error Java Basics - Anfänger-Themen 7
Jul1n4tor Scanner error bei Eingabe die kein Integer ist Java Basics - Anfänger-Themen 4
richrich99 error: illegal start of expression Java Basics - Anfänger-Themen 10
M error: '.class' expected switch(char) Java Basics - Anfänger-Themen 32
N Compiler-Fehler State Machine - Compiler Error Java Basics - Anfänger-Themen 48
U Interface als PAramter (Vergleich) und ein Error Java Basics - Anfänger-Themen 9
FHEFHJHFJH error: class names, 'summe_bsp', are only accepted if annotation processing is explicitly requested Java Basics - Anfänger-Themen 3
S JavaKara Null Exception Error Java Basics - Anfänger-Themen 4
P Eclipse Karate Framework API Test . Unexpected Error: the trustAnchors parameter must be non-empty Java Basics - Anfänger-Themen 1
H Versteht jemand diesen Codewars Error? Java Basics - Anfänger-Themen 8
J Fehlermeldung: A JNI error Java Basics - Anfänger-Themen 3
Gaudimagspam Compiler Error Java Basics - Anfänger-Themen 3
Eule25 Arbeit mit long und int, Error: integer number too large Java Basics - Anfänger-Themen 2
P Welche Zeile in Tadople gibt einen compiler error? Java Basics - Anfänger-Themen 5
B Methoden if-statement error, FX, Fehlermeldung Java Basics - Anfänger-Themen 6
K Error bei meinem Programm - Hilfe Java Basics - Anfänger-Themen 8
A Scanner-Error Java Basics - Anfänger-Themen 8
Elyt Error: incompatible types Java Basics - Anfänger-Themen 3
I Client ObjectInputStream error... Java Basics - Anfänger-Themen 5
Kirby.exe Alle möglichen Error Möglichkeiten abfangen Java Basics - Anfänger-Themen 33
C error: <identifier> expected Java Basics - Anfänger-Themen 13
S Compiler-Fehler Exception in thread "main" java.lang.Error: Unresolved compilation problem: Java Basics - Anfänger-Themen 6
N Methoden Unerklärliche Error Meldung Java Basics - Anfänger-Themen 3
ZH1896ZH Datentypen Error bei For-Schleife Java Basics - Anfänger-Themen 2
R Error, wenn mehrere Clients gleichzeitig die Verbindung beenden Java Basics - Anfänger-Themen 16
Z Klassen Error: ';' expected - was mache ich falsch? Java Basics - Anfänger-Themen 4
9 Error bei .split() Java Basics - Anfänger-Themen 2
L Operatoren error: bad operand types for binary operator && Java Basics - Anfänger-Themen 8
B cal4j - Error at line 1:Unexpected end of file Java Basics - Anfänger-Themen 0
F Erste Schritte error: cannot find symbol Java Basics - Anfänger-Themen 5
L SQLITE - Syntax error Java Basics - Anfänger-Themen 3
R else without if error Java Basics - Anfänger-Themen 5
A Objekt in Methode zurückgeben, JUnit zeigt Error Java Basics - Anfänger-Themen 2
F Ausdruck wirft unerwarteten Error Java Basics - Anfänger-Themen 2
T Unverständlicher Launch-Error Java Basics - Anfänger-Themen 11
L Bluej Error: Cannot find Symbol Java Basics - Anfänger-Themen 13
R java.lang.ArrayIndexOutOfBoundsException: 0 Rechner Error Java Basics - Anfänger-Themen 4
F Taschenrechner "Error loading class..." Java Basics - Anfänger-Themen 5
T Error: int cannot be dereferenced Java Basics - Anfänger-Themen 10
D Datentypen Datentyperstellung | Kompiler sagt Syntax Error doch ich find keine Lösung Java Basics - Anfänger-Themen 2
J Syntax error on token ";",, expected Java Basics - Anfänger-Themen 2
W double*double error Java Basics - Anfänger-Themen 4
C Compiler-Fehler No such Field error Java Basics - Anfänger-Themen 20
B Linux - Error: Could not find or load main class application.Main Java Basics - Anfänger-Themen 28
T Datum wird auf der Konsole richtig ausgegeben, aber im Textarea kommt ERROR Java Basics - Anfänger-Themen 8
C Erste Schritte Syntax Error Java Basics - Anfänger-Themen 23
H Variablen error: non-static variable cannot be referenced from a static context Java Basics - Anfänger-Themen 4
H Compiler-Fehler error not a statement Java Basics - Anfänger-Themen 2
N Error bei eingabe eines Punktes Java Basics - Anfänger-Themen 1
T error: class, interface, or enum expected Java Basics - Anfänger-Themen 5
TheMenox Error bei Scanner - woher? Java Basics - Anfänger-Themen 14
D Compiler-Fehler error: .class expected Java Basics - Anfänger-Themen 2
Chr1s Interpreter-Fehler Error Fehlercode Java Basics - Anfänger-Themen 7
D Bitte um Hilfe bei "error: package com.apple.eawt does not exist import com.apple.eawt.*;" Java Basics - Anfänger-Themen 1
J Error: cannot find symbol - variable Java Basics - Anfänger-Themen 3
S Compiler-Fehler error: ';' expected (finde Fehler nicht) Java Basics - Anfänger-Themen 10
D Erste Schritte Fehlermeldung "Syntax error on token ";", { expected after this token" Java Basics - Anfänger-Themen 13
L Compiler-Fehler error: class, interface or enum expected Java Basics - Anfänger-Themen 2
1 Bei if-Anweisung: Syntax error on token Java Basics - Anfänger-Themen 5
D Übung Felder java Error kompilieren Java Basics - Anfänger-Themen 4
Joew0815 Error org.apache.xmlrpc.client.XmlRpcClientConfigImpl.setUserAgent Java Basics - Anfänger-Themen 2
A Code läuft nicht, Fehlermeldung Exception in thread "main" java.lang.Error: Unresolved compilation " Java Basics - Anfänger-Themen 11
C Exception Error Java Basics - Anfänger-Themen 15

Ähnliche Java Themen

Neue Themen


Oben