Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type Exception report
- message Unable to compile class for JSP:
- 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: [15] in the generated java file: [/var/lib/tomcat7/work/Catalina/localhost/pyx2/org/apache/jsp/game_jsp.java]
- Only a type can be imported. net.socialgamer.cah.data.GameOptions resolves to a package
- An error occurred at line: 402 in the jsp file: /game.jsp
- GameOptions.MIN_SCORE_LIMIT cannot be resolved to a type
- 399: <label id="score_limit_template_label" for="score_limit_template">Score limit:</label>
- 400: <select id="score_limit_template" class="score_limit">
- 401: <%
- 402: for (int i = GameOptions.MIN_SCORE_LIMIT; i <= GameOptions.MAX_SCORE_LIMIT; i++) {
- 403: %>
- 404: <option <%= i == GameOptions.DEFAULT_SCORE_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
- 405: <% } %>
- An error occurred at line: 402 in the jsp file: /game.jsp
- GameOptions.MAX_SCORE_LIMIT cannot be resolved to a type
- 399: <label id="score_limit_template_label" for="score_limit_template">Score limit:</label>
- 400: <select id="score_limit_template" class="score_limit">
- 401: <%
- 402: for (int i = GameOptions.MIN_SCORE_LIMIT; i <= GameOptions.MAX_SCORE_LIMIT; i++) {
- 403: %>
- 404: <option <%= i == GameOptions.DEFAULT_SCORE_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
- 405: <% } %>
- An error occurred at line: 404 in the jsp file: /game.jsp
- GameOptions.DEFAULT_SCORE_LIMIT cannot be resolved to a type
- 401: <%
- 402: for (int i = GameOptions.MIN_SCORE_LIMIT; i <= GameOptions.MAX_SCORE_LIMIT; i++) {
- 403: %>
- 404: <option <%= i == GameOptions.DEFAULT_SCORE_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
- 405: <% } %>
- 406: </select>
- 407: <br/>
- An error occurred at line: 412 in the jsp file: /game.jsp
- GameOptions.MIN_PLAYER_LIMIT cannot be resolved to a type
- 409: <select id="player_limit_template" class="player_limit"
- 410: aria-label="Player limit. Having more than 10 players may cause issues both for screen readers and traditional browsers.">
- 411: <%
- 412: for (int i = GameOptions.MIN_PLAYER_LIMIT; i <= GameOptions.MAX_PLAYER_LIMIT; i++) {
- 413: %>
- 414: <option <%= i == GameOptions.DEFAULT_PLAYER_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
- 415: <% } %>
- An error occurred at line: 412 in the jsp file: /game.jsp
- GameOptions.MAX_PLAYER_LIMIT cannot be resolved to a type
- 409: <select id="player_limit_template" class="player_limit"
- 410: aria-label="Player limit. Having more than 10 players may cause issues both for screen readers and traditional browsers.">
- 411: <%
- 412: for (int i = GameOptions.MIN_PLAYER_LIMIT; i <= GameOptions.MAX_PLAYER_LIMIT; i++) {
- 413: %>
- 414: <option <%= i == GameOptions.DEFAULT_PLAYER_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
- 415: <% } %>
- An error occurred at line: 414 in the jsp file: /game.jsp
- GameOptions.DEFAULT_PLAYER_LIMIT cannot be resolved to a type
- 411: <%
- 412: for (int i = GameOptions.MIN_PLAYER_LIMIT; i <= GameOptions.MAX_PLAYER_LIMIT; i++) {
- 413: %>
- 414: <option <%= i == GameOptions.DEFAULT_PLAYER_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
- 415: <% } %>
- 416: </select>
- 417: Having more than 10 players may get cramped!
- An error occurred at line: 423 in the jsp file: /game.jsp
- GameOptions.MIN_SPECTATOR_LIMIT cannot be resolved to a type
- 420: <select id="spectator_limit_template" class="spectator_limit"
- 421: aria-label="Spectator limit.">
- 422: <%
- 423: for (int i = GameOptions.MIN_SPECTATOR_LIMIT; i <= GameOptions.MAX_SPECTATOR_LIMIT; i++) {
- 424: %>
- 425: <option <%= i == GameOptions.DEFAULT_SPECTATOR_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
- 426: <% } %>
- An error occurred at line: 423 in the jsp file: /game.jsp
- GameOptions.MAX_SPECTATOR_LIMIT cannot be resolved to a type
- 420: <select id="spectator_limit_template" class="spectator_limit"
- 421: aria-label="Spectator limit.">
- 422: <%
- 423: for (int i = GameOptions.MIN_SPECTATOR_LIMIT; i <= GameOptions.MAX_SPECTATOR_LIMIT; i++) {
- 424: %>
- 425: <option <%= i == GameOptions.DEFAULT_SPECTATOR_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
- 426: <% } %>
- An error occurred at line: 425 in the jsp file: /game.jsp
- GameOptions.DEFAULT_SPECTATOR_LIMIT cannot be resolved to a type
- 422: <%
- 423: for (int i = GameOptions.MIN_SPECTATOR_LIMIT; i <= GameOptions.MAX_SPECTATOR_LIMIT; i++) {
- 424: %>
- 425: <option <%= i == GameOptions.DEFAULT_SPECTATOR_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
- 426: <% } %>
- 427: </select>
- 428: Spectators can watch and chat, but not actually play. Not even as Czar.
- An error occurred at line: 447 in the jsp file: /game.jsp
- GameOptions.MIN_BLANK_CARD_LIMIT cannot be resolved to a type
- 444: <label id="blanks_limit_label" title="Blank cards allow a player to type in their own answer.">
- 445: Also include <select id="blanks_limit_template" class="blanks_limit">
- 446: <%
- 447: for (int i = GameOptions.MIN_BLANK_CARD_LIMIT; i <= GameOptions.MAX_BLANK_CARD_LIMIT; i++) {
- 448: %>
- 449: <option <%= i == GameOptions.DEFAULT_BLANK_CARD_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
- 450: <% } %>
- An error occurred at line: 447 in the jsp file: /game.jsp
- GameOptions.MAX_BLANK_CARD_LIMIT cannot be resolved to a type
- 444: <label id="blanks_limit_label" title="Blank cards allow a player to type in their own answer.">
- 445: Also include <select id="blanks_limit_template" class="blanks_limit">
- 446: <%
- 447: for (int i = GameOptions.MIN_BLANK_CARD_LIMIT; i <= GameOptions.MAX_BLANK_CARD_LIMIT; i++) {
- 448: %>
- 449: <option <%= i == GameOptions.DEFAULT_BLANK_CARD_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
- 450: <% } %>
- An error occurred at line: 449 in the jsp file: /game.jsp
- GameOptions.DEFAULT_BLANK_CARD_LIMIT cannot be resolved to a type
- 446: <%
- 447: for (int i = GameOptions.MIN_BLANK_CARD_LIMIT; i <= GameOptions.MAX_BLANK_CARD_LIMIT; i++) {
- 448: %>
- 449: <option <%= i == GameOptions.DEFAULT_BLANK_CARD_LIMIT ? "selected='selected' " : "" %>value="<%= i %>"><%= i %></option>
- 450: <% } %>
- 451: </select> blank white cards.
- 452: </label>
- Stacktrace:
- org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
- org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
- org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:477)
- org.apache.jasper.compiler.Compiler.compile(Compiler.java:379)
- org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
- org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)
- org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)
- org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
- org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
- org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement