오류 내용은
1월 18, 2017 1:07:26 오후 org.apache.catalina.core.StandardWrapperValve invoke
심각: Servlet.service() for servlet [jsp] in context with path [/web1] threw exception [Unable to compile class for JSP:
An error occurred at line: 45 in the jsp file: /push_notification.jsp
Sender cannot be resolved to a type
42: }
43: conn.close();
44:
45: Sender sender = new Sender(simpleApiKey);//%
46: Message message = new Message.Builder() //%
47: .collapseKey(MESSAGE_ID)
48: .delayWhileIdle(SHOW_ON_IDLE)
An error occurred at line: 45 in the jsp file: /push_notification.jsp
Sender cannot be resolved to a type
42: }
43: conn.close();
44:
45: Sender sender = new Sender(simpleApiKey);//%
46: Message message = new Message.Builder() //%
47: .collapseKey(MESSAGE_ID)
48: .delayWhileIdle(SHOW_ON_IDLE)
An error occurred at line: 46 in the jsp file: /push_notification.jsp
Message cannot be resolved to a type
43: conn.close();
44:
45: Sender sender = new Sender(simpleApiKey);//%
46: Message message = new Message.Builder() //%
47: .collapseKey(MESSAGE_ID)
48: .delayWhileIdle(SHOW_ON_IDLE)
49: .timeToLive(LIVE_TIME)
An error occurred at line: 46 in the jsp file: /push_notification.jsp
Message.Builder cannot be resolved to a type
43: conn.close();
44:
45: Sender sender = new Sender(simpleApiKey);//%
46: Message message = new Message.Builder() //%
47: .collapseKey(MESSAGE_ID)
48: .delayWhileIdle(SHOW_ON_IDLE)
49: .timeToLive(LIVE_TIME)
An error occurred at line: 52 in the jsp file: /push_notification.jsp
MulticastResult cannot be resolved to a type
49: .timeToLive(LIVE_TIME)
50: .addData("message",msg)
51: .build();
52: MulticastResult result1 = sender.send(message,token,RETRY); //%
53: /* if (result1 != null) {
54: List<Result> resultList = result1.getResults();
55: for (Result result : resultList) {
Stacktrace:] with root cause
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 45 in the jsp file: /push_notification.jsp
Sender cannot be resolved to a type
42: }
43: conn.close();
44:
45: Sender sender = new Sender(simpleApiKey);//%
46: Message message = new Message.Builder() //%
47: .collapseKey(MESSAGE_ID)
48: .delayWhileIdle(SHOW_ON_IDLE)
An error occurred at line: 45 in the jsp file: /push_notification.jsp
Sender cannot be resolved to a type
42: }
43: conn.close();
44:
45: Sender sender = new Sender(simpleApiKey);//%
46: Message message = new Message.Builder() //%
47: .collapseKey(MESSAGE_ID)
48: .delayWhileIdle(SHOW_ON_IDLE)
An error occurred at line: 46 in the jsp file: /push_notification.jsp
Message cannot be resolved to a type
43: conn.close();
44:
45: Sender sender = new Sender(simpleApiKey);//%
46: Message message = new Message.Builder() //%
47: .collapseKey(MESSAGE_ID)
48: .delayWhileIdle(SHOW_ON_IDLE)
49: .timeToLive(LIVE_TIME)
An error occurred at line: 46 in the jsp file: /push_notification.jsp
Message.Builder cannot be resolved to a type
43: conn.close();
44:
45: Sender sender = new Sender(simpleApiKey);//%
46: Message message = new Message.Builder() //%
47: .collapseKey(MESSAGE_ID)
48: .delayWhileIdle(SHOW_ON_IDLE)
49: .timeToLive(LIVE_TIME)
An error occurred at line: 52 in the jsp file: /push_notification.jsp
MulticastResult cannot be resolved to a type
49: .timeToLive(LIVE_TIME)
50: .addData("message",msg)
51: .build();
52: MulticastResult result1 = sender.send(message,token,RETRY); //%
53: /* if (result1 != null) {
54: List<Result> resultList = result1.getResults();
55: for (Result result : resultList) {
Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)
이렇게 뜨는데 jsp가 부족해서 모르겠네요 뭐가 잘못된거죠?