Generated Servlet Error From File
Contents |
here pwc6033: error in javac compilation for jsp for a quick overview of the site Help error in javac compilation for jsp pwc6199 Center Detailed answers to any questions you might have Meta Discuss
Pwc6199 Generated Servlet Error Package Does Not Exist
the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about
Glassfish Pwc6199 Generated Servlet Error
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. pwc6199: generated servlet error: ';' expected Join them; it only takes a minute: Sign up JSP Compilation Error up vote 0 down vote favorite Object mainForumRecords=request.getAttribute("mainForumRecords"); if(mainForumRecords instanceof ArrayList) { Iterator"); MainForumRecordBean record=recordIterator.next(); { MainForumRecordBean mainForumRecord=(MainForumRecordBean)record; out.print(" "); } } I am getting an error in the above JSP code. org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP PWC6197: An error occurred at line: 32 in the jsp file: /loginIndex.jsp PWC6199: Generated servlet error: string:///loginIndex_jsp.java:85: cannot find symbol symbol : class MainForumRecordBean location: class org.apache.jsp.loginIndex_jsp PWC6197: An error occurred at line: 32 in the jsp file: /loginIndex.jsp PWC6199: Generated servlet error: string:"); out.print(mainForumRecord.getMainPostId()); out.print(" "); out.print(""); out.print(mainForumRecord.getPostHeading()); out.print(" "); out.print(""); out.print(mainForumRecord.getPostText()); out.print(" "); out.print(""); out.print(mainForumRecord.getAuthorId()); out.print(" "); out.print(""); out.print(mainForumRecord.getTimeStamp()); out.print(" "); } out.println("
Fix Version/s: V3 Type: Bug Priority: Critical Reporter: dougd Assignee: jluehe Resolution: Fixed Votes: 0 Labels: None
Jsp Compilation Error
Remaining Estimate: Not Specified Time Spent: Not Specified org.apache.jasper.jasperexception: unable to compile class for jsp Original Estimate: Not Specified Environment: Operating System: All Platform: All Issuezilla Id: 8,963 Description When deploying jsp tests I am seeing the following in the server log. The eras are http://stackoverflow.com/questions/5606322/jsp-compilation-error failing o deploy due to this failure. I am seeing this on the latest nightly Glassfish V3 build. ------ Start Server Log -------- [#|2009-07-31T09:54:36.760-0400|SEVERE|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=69;_ThreadName=Thread-2;|WebModule[/jsp_sec_secform_web]PWC1396: Servlet /jsp_sec_secform_web threw load() exception org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP PWC6199: Generated https://java.net/jira/si/jira.issueviews:issue-html/GLASSFISH-8963/GLASSFISH-8963.html servlet error: string:///unprotected_jsp.java:3: package javax.servlet does not exist PWC6199: Generated servlet error: string:///unprotected_jsp.java:4: package javax.servlet.http does not exist PWC6199: Generated servlet error: string:///unprotected_jsp.java:5: package javax.servlet.jsp does not exist PWC6199: Generated servlet error: string:///unprotected_jsp.java:7: package org.apache.jasper.runtime does not exist PWC6199: Generated servlet error: string:///unprotected_jsp.java:8: package org.apache.jasper.runtime does not exist PWC6199: Generated servlet error: string:///unprotected_jsp.java:10: cannot find symbol symbol : class JspFactory location: class org.apache.jsp.unprotected_jsp PWC6199: Generated servlet error: string:///unprotected_jsp.java:14: package org.glassfish.jsp.api does not exist PWC6199: Generated servlet error: string:///unprotected_jsp.java:20: cannot find symbol symbol : class HttpServletRequest location: class org.apache.jsp.unprotected_jsp PWC6199: Generated servlet error: string:///unprotected_jsp.java:20: cannot find symbol symbol : class HttpServletResponse location: class org.apache.jsp.unprotected_jsp PWC6199: Generated servlet error: string:///unprotected_jsp.java:21: cannot find symbol symbol : class ServletException locatio
Details Type: Bug Status: Open Priority: Major Resolution: Unresolved Affects Version/s: 4.0 Fix Version/s: None Component/s: embedded Labels: None https://java.net/jira/browse/GLASSFISH-20721 Description When using the embedded container from GlassFish 4.0 https://www.ibm.com/developerworks/community/forums/thread.jspa?threadID=223141 compilation for JSP pages fails. This seems to be the exact same issue as GLASSFISH-9511. When I change the container to the one from GlassFish 3.1.2.2 everything works correctly. E.g. when using Maven having the following in pom.xml when generated servlet using Arquillian and Drone will cause the error:
Topic: Problem similar to PK60565 1 reply Latest Post - 2008-08-28T11:39:48Z by SystemAdmin Display:ConversationsBy Date 1-2 of 2 Previous Next SystemAdmin 110000D4XK 37421 Posts Pinned topic Problem similar to PK60565 2008-08-27T19:08:50Z | Tags: Answered question This question has been answered. Unanswered question This question has not been answered yet. When viewing my webapp which works in previous versions of websphere, I get the error below (pasted at end cos it's huge). This looks very similar to PK60565, except that installing fix pack 17 for WAS doesn't fix the problem. Got any ideas?
Error Message:
JSPG0049E: /config.jsp failed to compile :
JSPG0091E: An error occurred at line: 5 in the file: /config.jsp
JSPG0093E: Generated servlet error from file: /config.jsp
C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5.war\_config.java : 10 : The import za.co.hsbc.gcsi.web.security cannot be resolved
JSPG0225E: An error occurred at line: 19 in the statically included file: /menu.jsp
JSPG0093E: Generated servlet error from file: /config.jsp
C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5.war\_config.java : 30 : The import za.co.hsbc.gcsi.web.security cannot be resolved
JSPG0225E: An error occurred at line: 20 in the statically included file: /menu.jsp
JSPG0093E: Generated servlet error from file: /config.jsp
C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5.war\_config.java : 31 : The import za.co.hsbc.gcsi.web.security cannot be resolved
JSPG0225E: An error occurred at line: 17 in the statically included file: /messages.jsp
JSPG0093E: Generated servlet error from file: /config.jsp
C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\scramblerNode01\server1\gcsi_2_3_5_war\gcsi_2.3.5.war\_config.java : 57 : The import za.co.hsbc.gcsi.web.security cannot be resolved
JSPG0225E: An error occurred at line: 18 in the statically included file: /messages.jsp
JSPG0093E: Generated servlet error from file: /config.