A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Help to deploy JSF appl. in JBOSS
Joined: Sep 25, 2007
Mar 11, 2008 06:34:00
I am using
4.00. Once I deploy the application, I am getting following error
org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 5 in the jsp file: /Demo.jsp Generated servlet error: E:\JBOSS\jboss-4.0.0\server\default\work\jboss.web\localhost\abhi\org\apache\jsp\Demo_jsp.java:83: cannot access com.sun.faces.taglib.jsf_core.ViewTag An error occurred at line: 5 in the jsp file: /Demo.jsp Generated servlet error: bad class file: E:\JBOSS\jboss-4.0.0\server\default\deploy\abhi.war\WEB-INF\lib\jsf-impl.jar(com/sun/faces/taglib/jsf_core/ViewTag.class) class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. com.sun.faces.taglib.jsf_core.ViewTag _jspx_th_f_view_0 = (com.sun.faces.taglib.jsf_core.ViewTag) _jspx_tagPool_f_view.get(com.sun.faces.taglib.jsf_core.ViewTag.class);
SCJP 5.0 | SCWCD 1.5
Joined: Mar 18, 2004
Mar 11, 2008 11:50:00
it seems that your
page has got some problems.. Paste the code of your jsp page
Joined: Dec 12, 2006
Jul 28, 2009 07:44:21
This is not because of the JSP problem. Its because of the
version you are using. Just try to switch from Java 1.4 to Java 1.5. Make ensure that your JAVA_HOME points to JDK 1.5 and your JBoss points to that.
"Laugh and the world laughs with you."
Joined: May 14, 2008
Jul 28, 2009 14:24:48
please do not reply to year-old threads!
JBoss In Action
I agree. Here's the link:
subject: Help to deploy JSF appl. in JBOSS
JBOSS 4.0 - ERROR [Compiler] Javac exception
Can't deploy code for taglibs on Tomcat 5.5
Problem accessing EJB from JSP - page import syntax
Struts problem using JBoss 4.0.0
Problem in deploying JSF in JBoss 4.0.0
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014