{"action":"created","issue":{"url":"https://api.github.com/repos/ajanata/PretendYoureXyzzy/issues/140","labels_url":"https://api.github.com/repos/ajanata/PretendYoureXyzzy/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/ajanata/PretendYoureXyzzy/issues/140/comments","events_url":"https://api.github.com/repos/ajanata/PretendYoureXyzzy/issues/140/events","html_url":"https://github.com/ajanata/PretendYoureXyzzy/issues/140","id":59592529,"number":140,"title":"issue when compiling for tomcat 7","user":{"login":"dualznz","id":11286008,"avatar_url":"https://avatars.githubusercontent.com/u/11286008?v=3","gravatar_id":"","url":"https://api.github.com/users/dualznz","html_url":"https://github.com/dualznz","followers_url":"https://api.github.com/users/dualznz/followers","following_url":"https://api.github.com/users/dualznz/following{/other_user}","gists_url":"https://api.github.com/users/dualznz/gists{/gist_id}","starred_url":"https://api.github.com/users/dualznz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dualznz/subscriptions","organizations_url":"https://api.github.com/users/dualznz/orgs","repos_url":"https://api.github.com/users/dualznz/repos","events_url":"https://api.github.com/users/dualznz/events{/privacy}","received_events_url":"https://api.github.com/users/dualznz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-03-03T04:06:46Z","updated_at":"2015-03-09T16:08:30Z","closed_at":null,"body":"hi i have the latest build of xampp running, installed tomcat 7 & latest java JRE, wen to load up this src ip:8080/cah/WebContent click on take me to the game then i get this thrown at me. not sure what to do, some help would be great thanks.\r\n\r\nHTTP Status 500 - Unable to compile class for JSP:\r\n\r\ntype Exception report\r\n\r\nmessage Unable to compile class for JSP:\r\n\r\ndescription The server encountered an internal error that prevented it from fulfilling this request.\r\n\r\nexception\r\n\r\norg.apache.jasper.JasperException: Unable to compile class for JSP: \r\n\r\nAn error occurred at line: [15] in the generated java file: [C:\\xampp\\tomcat\\work\\Catalina\\localhost\\cah\\org\\apache\\jsp\\WebContent\\game_jsp.java]\r\nOnly a type can be imported. net.socialgamer.cah.data.GameOptions resolves to a package\r\n\r\nAn error occurred at line: 413 in the jsp file: /WebContent/game.jsp\r\nGameOptions.MIN_SCORE_LIMIT cannot be resolved to a type\r\n410:       <label id=\"score_limit_template_label\" for=\"score_limit_template\">Score limit:</label>\r\n411:       <select id=\"score_limit_template\" class=\"score_limit\">\r\n412:         <%\r\n413:           for (int i = GameOptions.MIN_SCORE_LIMIT; i <= GameOptions.MAX_SCORE_LIMIT; i++) {\r\n414:         %>\r\n415:           <option <%= i == GameOptions.DEFAULT_SCORE_LIMIT ? \"selected='selected' \" : \"\" %>value=\"<%= i %>\"><%= i %></option>\r\n416:         <% } %>\r\n\r\n\r\nAn error occurred at line: 413 in the jsp file: /WebContent/game.jsp\r\nGameOptions.MAX_SCORE_LIMIT cannot be resolved to a type\r\n410:       <label id=\"score_limit_template_label\" for=\"score_limit_template\">Score limit:</label>\r\n411:       <select id=\"score_limit_template\" class=\"score_limit\">\r\n412:         <%\r\n413:           for (int i = GameOptions.MIN_SCORE_LIMIT; i <= GameOptions.MAX_SCORE_LIMIT; i++) {\r\n414:         %>\r\n415:           <option <%= i == GameOptions.DEFAULT_SCORE_LIMIT ? \"selected='selected' \" : \"\" %>value=\"<%= i %>\"><%= i %></option>\r\n416:         <% } %>\r\n\r\n\r\nAn error occurred at line: 415 in the jsp file: /WebContent/game.jsp\r\nGameOptions.DEFAULT_SCORE_LIMIT cannot be resolved to a type\r\n412:         <%\r\n413:           for (int i = GameOptions.MIN_SCORE_LIMIT; i <= GameOptions.MAX_SCORE_LIMIT; i++) {\r\n414:         %>\r\n415:           <option <%= i == GameOptions.DEFAULT_SCORE_LIMIT ? \"selected='selected' \" : \"\" %>value=\"<%= i %>\"><%= i %></option>\r\n416:         <% } %>\r\n417:       </select>\r\n418:       <br/>\r\n\r\n\r\nAn error occurred at line: 423 in the jsp file: /WebContent/game.jsp\r\nGameOptions.MIN_PLAYER_LIMIT cannot be resolved to a type\r\n420:       <select id=\"player_limit_template\" class=\"player_limit\"\r\n421:           aria-label=\"Player limit. Having more than 10 players may cause issues both for screen readers and traditional browsers.\">\r\n422:         <%\r\n423:           for (int i = GameOptions.MIN_PLAYER_LIMIT; i <= GameOptions.MAX_PLAYER_LIMIT; i++) {\r\n424:         %>\r\n425:           <option <%= i == GameOptions.DEFAULT_PLAYER_LIMIT ? \"selected='selected' \" : \"\" %>value=\"<%= i %>\"><%= i %></option>\r\n426:         <% } %>\r\n\r\n\r\nAn error occurred at line: 423 in the jsp file: /WebContent/game.jsp\r\nGameOptions.MAX_PLAYER_LIMIT cannot be resolved to a type\r\n420:       <select id=\"player_limit_template\" class=\"player_limit\"\r\n421:           aria-label=\"Player limit. Having more than 10 players may cause issues both for screen readers and traditional browsers.\">\r\n422:         <%\r\n423:           for (int i = GameOptions.MIN_PLAYER_LIMIT; i <= GameOptions.MAX_PLAYER_LIMIT; i++) {\r\n424:         %>\r\n425:           <option <%= i == GameOptions.DEFAULT_PLAYER_LIMIT ? \"selected='selected' \" : \"\" %>value=\"<%= i %>\"><%= i %></option>\r\n426:         <% } %>\r\n\r\n\r\nAn error occurred at line: 425 in the jsp file: /WebContent/game.jsp\r\nGameOptions.DEFAULT_PLAYER_LIMIT cannot be resolved to a type\r\n422:         <%\r\n423:           for (int i = GameOptions.MIN_PLAYER_LIMIT; i <= GameOptions.MAX_PLAYER_LIMIT; i++) {\r\n424:         %>\r\n425:           <option <%= i == GameOptions.DEFAULT_PLAYER_LIMIT ? \"selected='selected' \" : \"\" %>value=\"<%= i %>\"><%= i %></option>\r\n426:         <% } %>\r\n427:       </select>\r\n428:       Having more than 10 players may get cramped!\r\n\r\n\r\nAn error occurred at line: 434 in the jsp file: /WebContent/game.jsp\r\nGameOptions.MIN_SPECTATOR_LIMIT cannot be resolved to a type\r\n431:       <select id=\"spectator_limit_template\" class=\"spectator_limit\"\r\n432:           aria-label=\"Spectator limit.\">\r\n433:         <%\r\n434:           for (int i = GameOptions.MIN_SPECTATOR_LIMIT; i <= GameOptions.MAX_SPECTATOR_LIMIT; i++) {\r\n435:         %>\r\n436:           <option <%= i == GameOptions.DEFAULT_SPECTATOR_LIMIT ? \"selected='selected' \" : \"\" %>value=\"<%= i %>\"><%= i %></option>\r\n437:         <% } %>\r\n\r\n\r\nAn error occurred at line: 434 in the jsp file: /WebContent/game.jsp\r\nGameOptions.MAX_SPECTATOR_LIMIT cannot be resolved to a type\r\n431:       <select id=\"spectator_limit_template\" class=\"spectator_limit\"\r\n432:           aria-label=\"Spectator limit.\">\r\n433:         <%\r\n434:           for (int i = GameOptions.MIN_SPECTATOR_LIMIT; i <= GameOptions.MAX_SPECTATOR_LIMIT; i++) {\r\n435:         %>\r\n436:           <option <%= i == GameOptions.DEFAULT_SPECTATOR_LIMIT ? \"selected='selected' \" : \"\" %>value=\"<%= i %>\"><%= i %></option>\r\n437:         <% } %>\r\n\r\n\r\nAn error occurred at line: 436 in the jsp file: /WebContent/game.jsp\r\nGameOptions.DEFAULT_SPECTATOR_LIMIT cannot be resolved to a type\r\n433:         <%\r\n434:           for (int i = GameOptions.MIN_SPECTATOR_LIMIT; i <= GameOptions.MAX_SPECTATOR_LIMIT; i++) {\r\n435:         %>\r\n436:           <option <%= i == GameOptions.DEFAULT_SPECTATOR_LIMIT ? \"selected='selected' \" : \"\" %>value=\"<%= i %>\"><%= i %></option>\r\n437:         <% } %>\r\n438:       </select>\r\n439:       Spectators can watch and chat, but not actually play. Not even as Czar.\r\n\r\n\r\nAn error occurred at line: 458 in the jsp file: /WebContent/game.jsp\r\nGameOptions.MIN_BLANK_CARD_LIMIT cannot be resolved to a type\r\n455:       <label id=\"blanks_limit_label\" title=\"Blank cards allow a player to type in their own answer.\">\r\n456:         Also include <select id=\"blanks_limit_template\" class=\"blanks_limit\">\r\n457:         <%\r\n458:           for (int i = GameOptions.MIN_BLANK_CARD_LIMIT; i <= GameOptions.MAX_BLANK_CARD_LIMIT; i++) {\r\n459:         %>\r\n460:           <option <%= i == GameOptions.DEFAULT_BLANK_CARD_LIMIT ? \"selected='selected' \" : \"\" %>value=\"<%= i %>\"><%= i %></option>\r\n461:         <% } %>\r\n\r\n\r\nAn error occurred at line: 458 in the jsp file: /WebContent/game.jsp\r\nGameOptions.MAX_BLANK_CARD_LIMIT cannot be resolved to a type\r\n455:       <label id=\"blanks_limit_label\" title=\"Blank cards allow a player to type in their own answer.\">\r\n456:         Also include <select id=\"blanks_limit_template\" class=\"blanks_limit\">\r\n457:         <%\r\n458:           for (int i = GameOptions.MIN_BLANK_CARD_LIMIT; i <= GameOptions.MAX_BLANK_CARD_LIMIT; i++) {\r\n459:         %>\r\n460:           <option <%= i == GameOptions.DEFAULT_BLANK_CARD_LIMIT ? \"selected='selected' \" : \"\" %>value=\"<%= i %>\"><%= i %></option>\r\n461:         <% } %>\r\n\r\n\r\nAn error occurred at line: 460 in the jsp file: /WebContent/game.jsp\r\nGameOptions.DEFAULT_BLANK_CARD_LIMIT cannot be resolved to a type\r\n457:         <%\r\n458:           for (int i = GameOptions.MIN_BLANK_CARD_LIMIT; i <= GameOptions.MAX_BLANK_CARD_LIMIT; i++) {\r\n459:         %>\r\n460:           <option <%= i == GameOptions.DEFAULT_BLANK_CARD_LIMIT ? \"selected='selected' \" : \"\" %>value=\"<%= i %>\"><%= i %></option>\r\n461:         <% } %>\r\n462:         </select> blank white cards.\r\n463:       </label>\r\n\r\n\r\nStacktrace:\r\n\torg.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)\r\n\torg.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)\r\n\torg.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:485)\r\n\torg.apache.jasper.compiler.Compiler.compile(Compiler.java:379)\r\n\torg.apache.jasper.compiler.Compiler.compile(Compiler.java:354)\r\n\torg.apache.jasper.compiler.Compiler.compile(Compiler.java:341)\r\n\torg.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)\r\n\torg.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)\r\n\torg.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)\r\n\torg.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)\r\n\tjavax.servlet.http.HttpServlet.service(HttpServlet.java:727)\r\n\torg.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\r\nnote The full stack trace of the root cause is available in the Apache Tomcat/7.0.56 logs."},"comment":{"url":"https://api.github.com/repos/ajanata/PretendYoureXyzzy/issues/comments/77883987","html_url":"https://github.com/ajanata/PretendYoureXyzzy/issues/140#issuecomment-77883987","issue_url":"https://api.github.com/repos/ajanata/PretendYoureXyzzy/issues/140","id":77883987,"user":{"login":"noahp78","id":1824261,"avatar_url":"https://avatars.githubusercontent.com/u/1824261?v=3","gravatar_id":"","url":"https://api.github.com/users/noahp78","html_url":"https://github.com/noahp78","followers_url":"https://api.github.com/users/noahp78/followers","following_url":"https://api.github.com/users/noahp78/following{/other_user}","gists_url":"https://api.github.com/users/noahp78/gists{/gist_id}","starred_url":"https://api.github.com/users/noahp78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noahp78/subscriptions","organizations_url":"https://api.github.com/users/noahp78/orgs","repos_url":"https://api.github.com/users/noahp78/repos","events_url":"https://api.github.com/users/noahp78/events{/privacy}","received_events_url":"https://api.github.com/users/noahp78/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T16:08:30Z","updated_at":"2015-03-09T16:08:30Z","body":"Are you using the latest Tomcat7 version? "}}