Generated Servlet Error Jboss
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Inspecting a bean in my JBOSS JMX Agent View fails with an error up vote 3 down vote favorite 2 I cannot inspect any of my beans in the JMX Agent View as clicking on any bean results in the error pasted below. Every thing else seems to be working fine within JBOSS as it is properly serving my application. Environment variables as follows... PATH = C:\Program Files\Java\jre8\bin;C:\Users\XXX\AppData\Roaming\npm;C:\Program Files (x86)\Java\jre7\bin;C:\Program Files\Java\jre7\bin; JAVA_HOME = C:\Program Files (x86)\Java\jdk1.8.0_05 JBossWeb/2.0.1.GA - Error report HTTP Status 500 - type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 151 in the jsp file: /inspectMBean.jsp The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files 148: else if (String.valueOf(attrValue).indexOf(sep) == -1) 149: { 150: %> 151: " <%= readonly %>> 152: <% 153: } 154: else An error occurred at line: 151 in the jsp file: /inspectMBean.jsp The method replace(char, char) in the type String is not applicable for the arguments (String, String) 148: else if (String.valueOf(attrValue).indexOf(sep) == -1) 149: { 150: %> 151: " <%= readonly %>> 152: <% 153: } 154: else Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) org.apache.jasper.compiler.JDTCompiler.generateCla
This Site Careers Other all forums Forum: JBoss/WildFly JSP error in Jboss Prasanna Kannan Greenhorn http://stackoverflow.com/questions/23419972/inspecting-a-bean-in-my-jboss-jmx-agent-view-fails-with-an-error Posts: 21 posted 10 years ago Hi, I'm getting the below error, when accessing the following jsp file which works fine in Websphere. https://coderanch.com/t/90099/JBoss/JSP-error-Jboss Do I need to change anything in this jsp file to make it work in JBoss. Thanks, Prasanna ERROR [org.apache.jasper.compiler.Compiler] Error compiling file: /C:/java/eside/jboss-3.2.5/server/default/work/jboss.web/localhost/ilm-escb2b//org/apache/jsp\index_jsp.java [javac] Compiling 1 source file C:\java\eside\jboss-3.2.5\server\default\work\jboss.web\localhost\ilm-escb2b\org\apache\jsp\index_jsp.java:123: _jspx_meth_layout_menuItem_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.index_jsp cannot be applied to (fr.improve.struts.taglib.layout.treeview.TreeViewTag,javax.servlet.jsp.PageContext) if (_jspx_meth_layout_menuItem_0(_jspx_th_layout_treeview_0, _jspx_page_context)) ^ C:\java\eside\jboss-3.2.5\server\default\work\jboss.web\localhost\ilm-escb2b\org\apache\jsp\index_jsp.java:127: _jspx_meth_layout_menuItem_5(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.index_jsp cannot be applied to (fr.improve.struts.taglib.layout.treeview.TreeViewTag,javax.servlet.jsp.PageContext) if (_jspx_meth_layout_menuItem_5(_jspx_th_layout_treeview_0, _jspx_page_context)) ^ C:\java\eside\jboss-3.2.5\server\default\work\jboss.web\localhost\ilm-escb2b\org\apache\jsp\index_jsp.java:155: _jspx_meth_layout_menuItem_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.index_jsp cannot be applied to (fr.improve.struts.taglib.layout.MenuItemTag2,javax.servlet.jsp.PageContext) if (_jspx_meth_layout_menuItem_1(_jspx_th_layout_menuItem_0, _jspx_page_context)) ^ C:\java\eside\jboss-3.2.5\server\default\work\jboss.web\localhost\ilm-escb2b\org\apache\jsp\index_jsp.java
This Site Careers https://coderanch.com/t/88181/JBoss/Error-loading-jmx-console Other all forums Forum: JSP javac error JSTL on jboss baskar Ganapathi Greenhorn Posts: 1 posted 9 years ago Hi I generated servlet am using JSTL 1.1 on jboss-3.2.5.Afetr deploying the application when i try to access the application it throws javac error like org.apache.jasper.JasperException: Unable to compile class for JSP generated servlet error An error occurred at line: 26 in the jsp file: /jsp/Login.jsp Generated servlet error: C:\jboss-3.2.5\server\default\work\jboss.web\localhost\rlm\org\apache\jsp\jsp\Login_jsp.java:229: _jspx_meth_c_when_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.common.core.ChooseTag,javax.servlet.jsp.PageContext) if (_jspx_meth_c_when_0(_jspx_th_c_choose_0, _jspx_page_context)) ^ An error occurred at line: 26 in the jsp file: /jsp/Login.jsp Generated servlet error: C:\jboss-3.2.5\server\default\work\jboss.web\localhost\rlm\org\apache\jsp\jsp\Login_jsp.java:233: _jspx_meth_c_when_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.common.core.ChooseTag,javax.servlet.jsp.PageContext) if (_jspx_meth_c_when_1(_jspx_th_c_choose_0, _jspx_page_context)) ^ An error occurred at line: 26 in the jsp file: /jsp/Login.jsp Generated servlet error: C:\jboss-3.2.5\server\default\work\jboss.web\localhost\rlm\org\apache\jsp\jsp\Login_jsp.java:237: _jspx_meth_c_when_2(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.common.core.ChooseTag,javax.servlet.jsp.PageContext) if (_jspx_meth_c_when_2(_jspx_th_c_choose_0, _jspx_page_context)) org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332) or
This Site Careers Other all forums Forum: JBoss/WildFly Error loading jmx-console Stelian Iancu Greenhorn Posts: 21 posted 13 years ago Hi! I have just downloaded jboss 3.0.6 with tomcat and when I try the url http://localhost:8080/jmx-console in the browser, I get the following error: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:340) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) [snip] Do you know what is wrong? I am using Windows 98 and Sun's 1.4.1 jdk. Thanks! --
Linux registered user 287835
Be different. Think. Ernest Lee Ranch Hand Posts: 145 posted 13 years ago I got the same error too? I am using the latest JDK already./ Stelian Iancu Greenhorn Posts: 21 posted 13 years ago My guess it's that it has something to do with the operating system. I put the same version of JBoss on Mandrake 9.0 and it works without any error. So can this be a win98 issue? What OS are you using? --
Linux registered user 287835
Be different. Think. James Ashton Greenhorn Posts: 2 posted 12 years ago Hi, Have a look at where you have installed JBoss. If there is a space in there (i.e - C:\Pr