Home
>
Default >
Help Needed - JavaCompile error in JSPs
Help Needed - JavaCompile error in JSPs
October 11Hits:0
I have imported the existing WSADIE 4.x application from clearcase into my workspace in WSADIE 5.1 and tweaked with some build paths.Many errors got resolved by that,but some are remaining
I have not made any changes in code.not at all.and obviously the existing application should be proper.
This is one of the errors in the JSP. There are few more errors of the same type.
ContactUsPopUs.jsp
Code fragment in this JSP
<jsp:useBean id="userInfoBean" scope="session" class="bpp.base.data.UserInfoBean"/>
<% }
if (userInfoBean.isSegTypeValue("CONTACT_INFO","FAX")) { %>
Error
JavaCompile: The method isSegTypeValue(String, String) is undefined for the type UserInfoBean. ContactUsPopUp.jsp line 64
UserInfoBean.java
The code fragment for that particular method:
public boolean isSegTypeValue(String aType, String aValue) {
boolean isIn = false;
int index;
String aList = (String)fCustSegMap.get(aType.toUpperCase());
index = aList.indexOf(aValue.toUpperCase());
if (index >= 0)
isIn = true;
return isIn;
What can be the problem? Any solution?
Answers
1. Try do a clean project rebuild by menu option: project > clean
2. verify class UserInfoBean is compiled with no error
3. In your project's WEB-INF/classes folder, open the "UserInfoBean.class" to verify the method "public boolean isSegTypeValue(String aType, String aValue)" is show up.
4. check to see if that resolve the jsp compile error
Read other 2 answers
Tags:
Related Articles
-
I have imported the existing WSADIE 4.x application from clearcase into my workspace in WSADIE 5.1 and tweaked with some build paths.Many errors got resolved by that,but some are remaining I have not made any changes in code.not at all.and obviously
-
hi , i'm mech. i have some probs with jsp. i am trying to connect jsp page with database and printing the data on the browser page. i have created DSN mm using microsoft odbc for oracle and oracle9i's driver oracle in orahome90 but it is giving yet .
-
Hi Todd, removing the defaultValue="" attribute works. I have not got around to testing the SP3. BTW. The reason the default value tag was added was to stop Null pointer exceptions being thrown in the HrefTag.beginDisplay(). buffer.append("
-
We have 3 nodes of OIM servers in our clustered production environment. While accessing OIM server on first node, following error is coming in the browser window - OracleJSP error: oracle.jsp.parse.JspParseException: /oracle/iam/ui/main/signin.jspx:
-
Hi, I am getting error in customize masthead war project in jsp for import statement. <%@ page import="com.sapportals.htmlb.*"%> <%@ page import="com.sapportals.htmlb.hovermenu.*"%> <%@ page import="com.sap.security
-
Hello all I am using tomcat on solaris. I have copied my war file under the webapps folder. When I start the tomcat services, it shows the messages for adding the context path for that war file, it also creates a folder for it under webapps but fails
-
500 Internal Server Error OracleJSP: JSP Error: Request URI:/ForecastVsActualWithProgressBarWebApp/htdocs/forecastvsactualportlet/processing.jsp Exception: java.lang.NullPointerException at java.net.URLClassLoader$1.run(URLClassLoader.java:190) at ja
-
Hello , I am getting below error in the server console deployement tab. http://localhost:7001/console/console.portal?_nfpb=true&_pageLabel=AppDeploymentsControlPage&handle=com.bea.console.handles.JMXHandle%28%22com.bea%3AName%3Dshreeram_domain%2CT
-
Hello, I am getting this error in JSP at compile time, have no idea whatd going wrong here..!! Everything in the code looks good. Please help..!! The error is: Error 500: Unable to compile class for JSP /opt/WebSphere/AppServer/temp/jasi80corpgeNode/
-
hello I am getting the above error when I try to start the Web Services Navigator in my J2EE engine of Solution Manager 4.0 system. I am on NW 7.0 Java Components SP10. The full error message is: 500 Internal Server Error com.sap.engine.services.serv