Advertisement
Guest User

Untitled

a guest
Sep 4th, 2015
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.82 KB | None | 0 0
  1. type Exception report
  2.  
  3. message Unable to compile class for JSP:
  4.  
  5. description The server encountered an internal error that prevented it from fulfilling this request.
  6.  
  7. exception
  8.  
  9. org.apache.jasper.JasperException: Unable to compile class for JSP:
  10.  
  11. An error occurred at line: [15] in the generated java file: [/var/lib/tomcat7/work/Catalina/localhost/pyx2/org/apache/jsp/game_jsp.java]
  12. Only a type can be imported. net.socialgamer.cah.data.GameOptions resolves to a package
  13.  
  14. An error occurred at line: 402 in the jsp file: /game.jsp
  15. GameOptions.MIN_SCORE_LIMIT cannot be resolved to a type
  16. 399: <label id="score_limit_template_label" for="score_limit_template">Score limit:</label>
  17. 400: <select id="score_limit_template" class="score_limit">
  18. 401: <%
  19. 402: for (int i = GameOptions.MIN_SCORE_LIMIT; i <= GameOptions.MAX_SCORE_LIMIT; i++) {
  20. 403: %>
  21. 404: <option <%= i == GameOptions.DEFAULT_SCORE_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
  22. 405: <% } %>
  23.  
  24.  
  25. An error occurred at line: 402 in the jsp file: /game.jsp
  26. GameOptions.MAX_SCORE_LIMIT cannot be resolved to a type
  27. 399: <label id="score_limit_template_label" for="score_limit_template">Score limit:</label>
  28. 400: <select id="score_limit_template" class="score_limit">
  29. 401: <%
  30. 402: for (int i = GameOptions.MIN_SCORE_LIMIT; i <= GameOptions.MAX_SCORE_LIMIT; i++) {
  31. 403: %>
  32. 404: <option <%= i == GameOptions.DEFAULT_SCORE_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
  33. 405: <% } %>
  34.  
  35.  
  36. An error occurred at line: 404 in the jsp file: /game.jsp
  37. GameOptions.DEFAULT_SCORE_LIMIT cannot be resolved to a type
  38. 401: <%
  39. 402: for (int i = GameOptions.MIN_SCORE_LIMIT; i <= GameOptions.MAX_SCORE_LIMIT; i++) {
  40. 403: %>
  41. 404: <option <%= i == GameOptions.DEFAULT_SCORE_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
  42. 405: <% } %>
  43. 406: </select>
  44. 407: <br/>
  45.  
  46.  
  47. An error occurred at line: 412 in the jsp file: /game.jsp
  48. GameOptions.MIN_PLAYER_LIMIT cannot be resolved to a type
  49. 409: <select id="player_limit_template" class="player_limit"
  50. 410: aria-label="Player limit. Having more than 10 players may cause issues both for screen readers and traditional browsers.">
  51. 411: <%
  52. 412: for (int i = GameOptions.MIN_PLAYER_LIMIT; i <= GameOptions.MAX_PLAYER_LIMIT; i++) {
  53. 413: %>
  54. 414: <option <%= i == GameOptions.DEFAULT_PLAYER_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
  55. 415: <% } %>
  56.  
  57.  
  58. An error occurred at line: 412 in the jsp file: /game.jsp
  59. GameOptions.MAX_PLAYER_LIMIT cannot be resolved to a type
  60. 409: <select id="player_limit_template" class="player_limit"
  61. 410: aria-label="Player limit. Having more than 10 players may cause issues both for screen readers and traditional browsers.">
  62. 411: <%
  63. 412: for (int i = GameOptions.MIN_PLAYER_LIMIT; i <= GameOptions.MAX_PLAYER_LIMIT; i++) {
  64. 413: %>
  65. 414: <option <%= i == GameOptions.DEFAULT_PLAYER_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
  66. 415: <% } %>
  67.  
  68.  
  69. An error occurred at line: 414 in the jsp file: /game.jsp
  70. GameOptions.DEFAULT_PLAYER_LIMIT cannot be resolved to a type
  71. 411: <%
  72. 412: for (int i = GameOptions.MIN_PLAYER_LIMIT; i <= GameOptions.MAX_PLAYER_LIMIT; i++) {
  73. 413: %>
  74. 414: <option <%= i == GameOptions.DEFAULT_PLAYER_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
  75. 415: <% } %>
  76. 416: </select>
  77. 417: Having more than 10 players may get cramped!
  78.  
  79.  
  80. An error occurred at line: 423 in the jsp file: /game.jsp
  81. GameOptions.MIN_SPECTATOR_LIMIT cannot be resolved to a type
  82. 420: <select id="spectator_limit_template" class="spectator_limit"
  83. 421: aria-label="Spectator limit.">
  84. 422: <%
  85. 423: for (int i = GameOptions.MIN_SPECTATOR_LIMIT; i <= GameOptions.MAX_SPECTATOR_LIMIT; i++) {
  86. 424: %>
  87. 425: <option <%= i == GameOptions.DEFAULT_SPECTATOR_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
  88. 426: <% } %>
  89.  
  90.  
  91. An error occurred at line: 423 in the jsp file: /game.jsp
  92. GameOptions.MAX_SPECTATOR_LIMIT cannot be resolved to a type
  93. 420: <select id="spectator_limit_template" class="spectator_limit"
  94. 421: aria-label="Spectator limit.">
  95. 422: <%
  96. 423: for (int i = GameOptions.MIN_SPECTATOR_LIMIT; i <= GameOptions.MAX_SPECTATOR_LIMIT; i++) {
  97. 424: %>
  98. 425: <option <%= i == GameOptions.DEFAULT_SPECTATOR_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
  99. 426: <% } %>
  100.  
  101.  
  102. An error occurred at line: 425 in the jsp file: /game.jsp
  103. GameOptions.DEFAULT_SPECTATOR_LIMIT cannot be resolved to a type
  104. 422: <%
  105. 423: for (int i = GameOptions.MIN_SPECTATOR_LIMIT; i <= GameOptions.MAX_SPECTATOR_LIMIT; i++) {
  106. 424: %>
  107. 425: <option <%= i == GameOptions.DEFAULT_SPECTATOR_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
  108. 426: <% } %>
  109. 427: </select>
  110. 428: Spectators can watch and chat, but not actually play. Not even as Czar.
  111.  
  112.  
  113. An error occurred at line: 447 in the jsp file: /game.jsp
  114. GameOptions.MIN_BLANK_CARD_LIMIT cannot be resolved to a type
  115. 444: <label id="blanks_limit_label" title="Blank cards allow a player to type in their own answer.">
  116. 445: Also include <select id="blanks_limit_template" class="blanks_limit">
  117. 446: <%
  118. 447: for (int i = GameOptions.MIN_BLANK_CARD_LIMIT; i <= GameOptions.MAX_BLANK_CARD_LIMIT; i++) {
  119. 448: %>
  120. 449: <option <%= i == GameOptions.DEFAULT_BLANK_CARD_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
  121. 450: <% } %>
  122.  
  123.  
  124. An error occurred at line: 447 in the jsp file: /game.jsp
  125. GameOptions.MAX_BLANK_CARD_LIMIT cannot be resolved to a type
  126. 444: <label id="blanks_limit_label" title="Blank cards allow a player to type in their own answer.">
  127. 445: Also include <select id="blanks_limit_template" class="blanks_limit">
  128. 446: <%
  129. 447: for (int i = GameOptions.MIN_BLANK_CARD_LIMIT; i <= GameOptions.MAX_BLANK_CARD_LIMIT; i++) {
  130. 448: %>
  131. 449: <option <%= i == GameOptions.DEFAULT_BLANK_CARD_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
  132. 450: <% } %>
  133.  
  134.  
  135. An error occurred at line: 449 in the jsp file: /game.jsp
  136. GameOptions.DEFAULT_BLANK_CARD_LIMIT cannot be resolved to a type
  137. 446: <%
  138. 447: for (int i = GameOptions.MIN_BLANK_CARD_LIMIT; i <= GameOptions.MAX_BLANK_CARD_LIMIT; i++) {
  139. 448: %>
  140. 449: <option <%= i == GameOptions.DEFAULT_BLANK_CARD_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
  141. 450: <% } %>
  142. 451: </select> blank white cards.
  143. 452: </label>
  144.  
  145.  
  146. Stacktrace:
  147. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
  148. org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
  149. org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:477)
  150. org.apache.jasper.compiler.Compiler.compile(Compiler.java:379)
  151. org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
  152. org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)
  153. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)
  154. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
  155. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
  156. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
  157. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement