Make Friends, Chat, and Play Games
Unable to compile class for JSP: An error occurred at line: [5] in the jsp file: [/wap2/header1.jspf] This method must return a result of type String 2: /** 3: * Who viewed my profile real time alerts 4: */ 5: public String getWhoViewedMeRealTimeAlerts(UserBean userBean, javax.servlet.http.HttpServletRequest request) { 6: String pageStatusMessage = null; 7: if (!(DeviceManager.getInstance().isDesktopBrowser(request) || DeviceManager.getInstance().isWebKitDevice(request))) { 8: try { An error occurred at line: [42] in the jsp file: [/wap2/header1.jspf] This method must return a result of type String 39: /** 40: * JavaScript variable to report page render time 41: */ 42: public String getStartHeaderJS(UserBean userBean, javax.servlet.http.HttpServletRequest request) { 43: if ((userBean.getUser().getRole() == com.jnj.mocospace.User.ROLE_OWNER || CommonProps.getBoolean("development.server", false) || CommonProps.getBoolean("webkit.performance.report.analytics", false)) && DeviceManager.getInstance().isWebKitDevice(request)) { 44: return "<script type='text/javascript'>/* <![CDATA[ */var startHeaderJS_time = new Date();/* ]]> */</script>"; 45: } An error occurred at line: [52] in the jsp file: [/wap2/header1.jspf] This method must return a result of type boolean 49: /** 50: * determine optJS variable 51: */ 52: public boolean getOptJS(javax.servlet.http.HttpServletRequest request) { 53: boolean optJS = "true".equals(request.getParameter("optJS")) && CommonProps.getBoolean("webkit.opt.js", true); 54: 55: // Optimized JavaScript pages for webkit An error occurred at line: [119] in the jsp file: [/wap2/header1.jspf] This method must return a result of type List 116: /** 117: * Set and return ad batch position based on user and request 118: */ 119: public List getSetAdBatchPositions(UserBean userBean, javax.servlet.http.HttpServletRequest request, boolean showBottomAd) { 120: List<String> adBatchPositions = new ArrayList<String>(2); 121: if (showBottomAd && !com.jnj.mocospace.ads.AdManager.getInstance().ignoreAds(request, userBean, "bottom")) 122: adBatchPositions.add("bottom"); An error occurred at line: [145] in the jsp file: [/wap2/header1.jspf] This method must return a result of type String 142: /** 143: * Handle online status feature and return notice if applicable. 144: */ 145: public String handleOnlineStatus(UserBean userBean, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) { 146: String pageNotifyMessage = null; 147: if (!(DeviceManager.getInstance().isDesktopBrowser(request) || DeviceManager.getInstance().isWebKitDevice(request))) { 148: try { An error occurred at line: [5] in the jsp file: [/header1_1.jspf] This method must return a result of type boolean 2: /** 3: * Try automatic login from cookies and link 4: */ 5: public boolean checkAutoLogin(UserBean userBean, ProfileBean profileBean, ChatBean chatBean, String accessSource, String remoteAddr, javax.servlet.jsp.PageContext pageContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) { 6: 7: boolean autoLoggedIn = false; 8: if (userBean.getUser().getUid() == 0) { An error occurred at line: [76] in the jsp file: [/header1_1.jspf] This method must return a result of type boolean 73: /** 74: * HTTP / HTTPS access 75: */ 76: public boolean checkSecurityRedirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) { 77: try { 78: boolean isEcardsSite = request.getServerName() != null && request.getServerName().endsWith("ecardsforfriends.com"); 79: boolean allowNonSecure = "true".equals(request.getAttribute("security.ssl.allowNonSecure")); An error occurred at line: [3] in the jsp file: [/wap2/header2.jspf] This method must return a result of type String 1: <%! 2: // get body element class based on found device 3: public String getBodyClass(com.jnj.mocospace.user.UserBean userBean, boolean showAds, boolean showHeader, boolean showTabbedNav, boolean showBottomInput, boolean showFixedTopAd, boolean showFixedBottomAd, javax.servlet.http.HttpServletRequest request) { 4: 5: // Platform and browser 6: String bodyClass = "unknown"; An error occurred at line: [4] in the jsp file: [/wap2/ads/show_ad.jspf] This method must return a result of type String 1: <%@page import="com.jnj.util.filter.ValidatorFilter" %> 2: 3: <%! 4: public String getTopAd(com.jnj.mocospace.user.UserBean userBean, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.jnj.mocospace.ads.AdBatchResults adBatchResults, java.util.List<String> adBatchPositions, String tsmID, String tsmName) throws Exception { 5: String topAd = null; 6: 7: if (request.getParameter("ad_test_provider_top") != null) { An error occurred at line: [600] in the generated java file: [/home/orion/tomcats/B/webapps/ROOT/WEB-INF/tomcatWork/org/apache/jsp/wk/album/photoalbum_002dview_jsp.java] The blank final field _jspx_imports_packages may not have been initialized An error occurred at line: [602] in the generated java file: [/home/orion/tomcats/B/webapps/ROOT/WEB-INF/tomcatWork/org/apache/jsp/wk/album/photoalbum_002dview_jsp.java] The blank final field _jspx_imports_classes may not have been initialized An error occurred at line: [674] in the generated java file: [/home/orion/tomcats/B/webapps/ROOT/WEB-INF/tomcatWork/org/apache/jsp/wk/album/photoalbum_002dview_jsp.java] This method must return a result of type Map<String,Long> An error occurred at line: [678] in the generated java file: [/home/orion/tomcats/B/webapps/ROOT/WEB-INF/tomcatWork/org/apache/jsp/wk/album/photoalbum_002dview_jsp.java] This method must return a result of type Set<String> An error occurred at line: [682] in the generated java file: [/home/orion/tomcats/B/webapps/ROOT/WEB-INF/tomcatWork/org/apache/jsp/wk/album/photoalbum_002dview_jsp.java] This method must return a result of type Set<String> An error occurred at line: [686] in the generated java file: [/home/orion/tomcats/B/webapps/ROOT/WEB-INF/tomcatWork/org/apache/jsp/wk/album/photoalbum_002dview_jsp.java] This method must return a result of type ExpressionFactory An error occurred at line: [697] in the generated java file: [/home/orion/tomcats/B/webapps/ROOT/WEB-INF/tomcatWork/org/apache/jsp/wk/album/photoalbum_002dview_jsp.java] This method must return a result of type InstanceManager Stacktrace: