HTTP Status 500 - Unable to compile class for JSP:

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: [19] in the generated java file: [/opt/tomcat/apache-tomcat-8.0.50/work/Catalina/localhost/rss/org/apache/jsp/RssFeedArtorMuseum_jsp.java]
Only a type can be imported. churchillobjects.rss4j.generator.RssGenerator resolves to a package

An error occurred at line: [22] in the generated java file: [/opt/tomcat/apache-tomcat-8.0.50/work/Catalina/localhost/rss/org/apache/jsp/RssFeedArtorMuseum_jsp.java]
Only a type can be imported. de.nava.informa.impl.basic.ChannelBuilder resolves to a package

An error occurred at line: [23] in the generated java file: [/opt/tomcat/apache-tomcat-8.0.50/work/Catalina/localhost/rss/org/apache/jsp/RssFeedArtorMuseum_jsp.java]
Only a type can be imported. de.nava.informa.utils.FormatDetector resolves to a package

An error occurred at line: [24] in the generated java file: [/opt/tomcat/apache-tomcat-8.0.50/work/Catalina/localhost/rss/org/apache/jsp/RssFeedArtorMuseum_jsp.java]
Only a type can be imported. de.nava.informa.parsers.FeedParser resolves to a package

An error occurred at line: [28] in the generated java file: [/opt/tomcat/apache-tomcat-8.0.50/work/Catalina/localhost/rss/org/apache/jsp/RssFeedArtorMuseum_jsp.java]
Only a type can be imported. jp.co.iamdn.servlet.html.HtmlTools resolves to a package

An error occurred at line: [29] in the generated java file: [/opt/tomcat/apache-tomcat-8.0.50/work/Catalina/localhost/rss/org/apache/jsp/RssFeedArtorMuseum_jsp.java]
Only a type can be imported. jp.co.iamdn.servlet.html.exception.BadJspParameterException resolves to a package

An error occurred at line: [30] in the generated java file: [/opt/tomcat/apache-tomcat-8.0.50/work/Catalina/localhost/rss/org/apache/jsp/RssFeedArtorMuseum_jsp.java]
Only a type can be imported. ajasystem.db.PageSourceAJA resolves to a package

An error occurred at line: 54 in the jsp file: /RssFeedArtorMuseum.jsp
HtmlTools cannot be resolved
51:     /** �ۡ���ڡ��������� */
52:     String HOMEPAGE_DESCRIPTION = "���츩Ω��ʪ�ۡ����Ѵ�";
53:     /** RSS��URI */
54:     String HOMEPAGE_RSS_URI = "http://" + request.getServerName() + HtmlTools.getURIPrefix(request) + "/RssFeedArt.jsp";
55:     /** RSS��� */
56:     String HOMEPAGE_LANG = "ja";
57:     /** ���ԡ��饤��ɽ�� */


An error occurred at line: 67 in the jsp file: /RssFeedArtorMuseum.jsp
RssDocument cannot be resolved to a type
64:     if (RSSVer.equals("0.91") || RSSVer.equals("1.0")) { // RSS0.91,RSS1.0�ξ�硢rss4j������
65: 
66:         // RSS�ɥ�����Ȥ������
67:         RssDocument rssDocument = new RssDocument();
68:         // RSS�С������Υ��å�
69:         rssDocument.setVersion(RSSVer);
70:         // �����ͥ�δ��ܾ���򥻥åȡ�


An error occurred at line: 67 in the jsp file: /RssFeedArtorMuseum.jsp
RssDocument cannot be resolved to a type
64:     if (RSSVer.equals("0.91") || RSSVer.equals("1.0")) { // RSS0.91,RSS1.0�ξ�硢rss4j������
65: 
66:         // RSS�ɥ�����Ȥ������
67:         RssDocument rssDocument = new RssDocument();
68:         // RSS�С������Υ��å�
69:         rssDocument.setVersion(RSSVer);
70:         // �����ͥ�δ��ܾ���򥻥åȡ�


An error occurred at line: 71 in the jsp file: /RssFeedArtorMuseum.jsp
RssChannel cannot be resolved to a type
68:         // RSS�С������Υ��å�
69:         rssDocument.setVersion(RSSVer);
70:         // �����ͥ�δ��ܾ���򥻥åȡ�
71:         RssChannel rssChannel = new RssChannel();
72:         rssChannel.setChannelTitle( HOMEPAGE_TITLE );             // RSS�ۿ����Υۡ���ڡ����Υ����ȥ�
73:         rssChannel.setChannelLink( HOMEPAGE_URL );                // RSS�ۿ����Υۡ���ڡ�����URL
74:         rssChannel.setChannelDescription( HOMEPAGE_DESCRIPTION ); // RSS�ۿ����Υۡ���ڡ����ξܺ�


An error occurred at line: 71 in the jsp file: /RssFeedArtorMuseum.jsp
RssChannel cannot be resolved to a type
68:         // RSS�С������Υ��å�
69:         rssDocument.setVersion(RSSVer);
70:         // �����ͥ�δ��ܾ���򥻥åȡ�
71:         RssChannel rssChannel = new RssChannel();
72:         rssChannel.setChannelTitle( HOMEPAGE_TITLE );             // RSS�ۿ����Υۡ���ڡ����Υ����ȥ�
73:         rssChannel.setChannelLink( HOMEPAGE_URL );                // RSS�ۿ����Υۡ���ڡ�����URL
74:         rssChannel.setChannelDescription( HOMEPAGE_DESCRIPTION ); // RSS�ۿ����Υۡ���ڡ����ξܺ�


An error occurred at line: 80 in the jsp file: /RssFeedArtorMuseum.jsp
RssDublinCore cannot be resolved to a type
77:         rssChannel.setChannelCopyright( HOMEPAGE_COPYRIGHT );
78: 
79:         // �����ͥ�δ��ܾ�������ˤ� Dublin Core �򥻥åȡ�
80:         RssDublinCore rssDublinCoreForChannel = new RssDublinCore();
81:         rssDublinCoreForChannel.setDate( FORMATTER.format( Calendar.getInstance().getTime() ) );
82:         rssChannel.setDublinCore( rssDublinCoreForChannel );
83:         // �嵭�λ��꤬�ʤ��ȡ���̤�����̾�����֤���Ƭ��򻲾Ȥ��ޤ�: 'dc'�פȤ������顼��ɽ�������.


An error occurred at line: 80 in the jsp file: /RssFeedArtorMuseum.jsp
RssDublinCore cannot be resolved to a type
77:         rssChannel.setChannelCopyright( HOMEPAGE_COPYRIGHT );
78: 
79:         // �����ͥ�δ��ܾ�������ˤ� Dublin Core �򥻥åȡ�
80:         RssDublinCore rssDublinCoreForChannel = new RssDublinCore();
81:         rssDublinCoreForChannel.setDate( FORMATTER.format( Calendar.getInstance().getTime() ) );
82:         rssChannel.setDublinCore( rssDublinCoreForChannel );
83:         // �嵭�λ��꤬�ʤ��ȡ���̤�����̾�����֤���Ƭ��򻲾Ȥ��ޤ�: 'dc'�פȤ������顼��ɽ�������.


An error occurred at line: 87 in the jsp file: /RssFeedArtorMuseum.jsp
PageSourceAJA cannot be resolved to a type
84: 
85: 
86:         // �ꥹ��ɽ��
87:         PageSourceAJA pageSource = null;
88:         ResultSet rSetPageSource = null;
89: 
90:         try {


An error occurred at line: 91 in the jsp file: /RssFeedArtorMuseum.jsp
PageSourceAJA cannot be resolved to a type
88:         ResultSet rSetPageSource = null;
89: 
90:         try {
91:             pageSource = new PageSourceAJA();
92:             pageSource.setResouceName("ajasystem");
93:             rSetPageSource = pageSource.getPageSourceArtorMuseum("info-a", "info-m",  false);
94: 


An error occurred at line: 100 in the jsp file: /RssFeedArtorMuseum.jsp
RssChannelItem cannot be resolved to a type
97:             // ɽ��������楫����
98:             int outCount = 0;
99: 
100:             RssChannelItem rssChannelItem = null;
101:             RssDublinCore rssDublinCore = null;
102: 
103:             while (rSetPageSource.next()) {


An error occurred at line: 101 in the jsp file: /RssFeedArtorMuseum.jsp
RssDublinCore cannot be resolved to a type
98:             int outCount = 0;
99: 
100:             RssChannelItem rssChannelItem = null;
101:             RssDublinCore rssDublinCore = null;
102: 
103:             while (rSetPageSource.next()) {
104:                 // ����ɽ��������


An error occurred at line: 111 in the jsp file: /RssFeedArtorMuseum.jsp
RssChannelItem cannot be resolved to a type
108:                 outCount++;
109: 
110:                 // �����ƥ����ޤ���
111:                 rssChannelItem = new RssChannelItem();
112:                 // �����Υ����ȥ�(100ʸ������)
113:                 rssChannelItem.setItemTitle(rSetPageSource.getString("srcsubject"));
114: 


An error occurred at line: 116 in the jsp file: /RssFeedArtorMuseum.jsp
HtmlTools cannot be resolved
113:                 rssChannelItem.setItemTitle(rSetPageSource.getString("srcsubject"));
114: 
115:                 //  ������URL(500ʸ������)
116:                 rssChannelItem.setItemLink("http://" + request.getServerName() + HtmlTools.getURIPrefix(request) + "/../art/topics/detail.jsp?id=" + rSetPageSource.getInt("srcid"));
117: 
118: 
119:                 // �����ξܺ�(500ʸ������)


An error occurred at line: 123 in the jsp file: /RssFeedArtorMuseum.jsp
RssDublinCore cannot be resolved to a type
120:                 rssChannelItem.setItemDescription(rSetPageSource.getString("srctext"));
121:                 
122:                 // ���վ���Ȥ���Dublin Core�򥻥åȤ��ޤ���
123:                 rssDublinCore = new RssDublinCore();
124:                 // �ۿ���������
125:                 rssDublinCore.setDate( FORMATTER.format(rSetPageSource.getTimestamp("srcdate"))); 
126:                 rssChannelItem.setDublinCore( rssDublinCore );


An error occurred at line: 139 in the jsp file: /RssFeedArtorMuseum.jsp
RssGenerator cannot be resolved
136: 
137:             // XMLʸ��Ȥ��ƥ��饤����Ȥ˽���
138:             response.setContentType("text/xml;charset=UTF-8");
139:             RssGenerator.generateRss(rssDocument,response.getWriter());
140: 
141: 
142:         // Jsp ���å����Τ��㳰������Ԥ� CATCH !!


An error occurred at line: 147 in the jsp file: /RssFeedArtorMuseum.jsp
BadJspParameterException cannot be resolved to a type
144:               sqle1.printStackTrace();
145:               out.println("JSP ������Υǡ����١����㳰 [" + sqle1.getMessage() + "]");
146:               out.println("�����Ԥ�Ϣ���Ƥ���������");
147:         } catch (BadJspParameterException gae) {
148:               out.println("<br>");
149:               out.println(gae.getMessage() + "<br><br>");
150:               out.println("<a href=\"javascript:history.back()\">���</a>");


An error occurred at line: 165 in the jsp file: /RssFeedArtorMuseum.jsp
ChannelBuilder cannot be resolved to a type
162:     }
163:     else { // RSS2.0�� informa ������
164: 
165:         ChannelBuilder builder = new ChannelBuilder();
166:         ChannelIF newChannel = builder.createChannel(HOMEPAGE_TITLE); // RSS�ۿ����Υۡ���ڡ����Υ����ȥ�(100ʸ������)
167: 
168:         newChannel.setSite(new URL(HOMEPAGE_URL));                    // �ۿ������Ȼ���


An error occurred at line: 165 in the jsp file: /RssFeedArtorMuseum.jsp
ChannelBuilder cannot be resolved to a type
162:     }
163:     else { // RSS2.0�� informa ������
164: 
165:         ChannelBuilder builder = new ChannelBuilder();
166:         ChannelIF newChannel = builder.createChannel(HOMEPAGE_TITLE); // RSS�ۿ����Υۡ���ڡ����Υ����ȥ�(100ʸ������)
167: 
168:         newChannel.setSite(new URL(HOMEPAGE_URL));                    // �ۿ������Ȼ���


An error occurred at line: 166 in the jsp file: /RssFeedArtorMuseum.jsp
ChannelIF cannot be resolved to a type
163:     else { // RSS2.0�� informa ������
164: 
165:         ChannelBuilder builder = new ChannelBuilder();
166:         ChannelIF newChannel = builder.createChannel(HOMEPAGE_TITLE); // RSS�ۿ����Υۡ���ڡ����Υ����ȥ�(100ʸ������)
167: 
168:         newChannel.setSite(new URL(HOMEPAGE_URL));                    // �ۿ������Ȼ���
169:         newChannel.setDescription(HOMEPAGE_DESCRIPTION);              // RSS�ۿ����Υۡ���ڡ����ξܺ�(500ʸ������)


An error occurred at line: 176 in the jsp file: /RssFeedArtorMuseum.jsp
ChannelFormat.RSS_0_91 cannot be resolved to a type
173:         // informa�����٤��褯�ʤ�С�RSS �ΥС������(0.91,1.0,2.0)�˴ط��ʤ����줷�����Ѥ��롣
174:         // RSS�ե����ɤΥС����������
175:         if (RSSVer.equals("0.91")) {
176:             newChannel.setFormat(ChannelFormat.RSS_0_91);
177:         }
178:         else if (RSSVer.equals("1.0")) {
179:             newChannel.setFormat(ChannelFormat.RSS_1_0);


An error occurred at line: 179 in the jsp file: /RssFeedArtorMuseum.jsp
ChannelFormat.RSS_1_0 cannot be resolved to a type
176:             newChannel.setFormat(ChannelFormat.RSS_0_91);
177:         }
178:         else if (RSSVer.equals("1.0")) {
179:             newChannel.setFormat(ChannelFormat.RSS_1_0);
180:         }
181:         else if (RSSVer.equals("2.0")) {
182:             newChannel.setFormat(ChannelFormat.RSS_2_0);


An error occurred at line: 182 in the jsp file: /RssFeedArtorMuseum.jsp
ChannelFormat.RSS_2_0 cannot be resolved to a type
179:             newChannel.setFormat(ChannelFormat.RSS_1_0);
180:         }
181:         else if (RSSVer.equals("2.0")) {
182:             newChannel.setFormat(ChannelFormat.RSS_2_0);
183:         }
184: 
185:         // �ꥹ��ɽ��


An error occurred at line: 186 in the jsp file: /RssFeedArtorMuseum.jsp
PageSourceAJA cannot be resolved to a type
183:         }
184: 
185:         // �ꥹ��ɽ��
186:         PageSourceAJA pageSource = null;
187:         ResultSet rSetPageSource = null;
188: 
189:         try {


An error occurred at line: 191 in the jsp file: /RssFeedArtorMuseum.jsp
ItemIF cannot be resolved to a type
188: 
189:         try {
190:               // �����ȥ롢�ܺ١�URL����ꤷ�ƹ��ܤ����
191:               ItemIF item = null;
192: 
193:               pageSource = new PageSourceAJA();
194:               pageSource.setResouceName("ajasystem");


An error occurred at line: 193 in the jsp file: /RssFeedArtorMuseum.jsp
PageSourceAJA cannot be resolved to a type
190:               // �����ȥ롢�ܺ١�URL����ꤷ�ƹ��ܤ����
191:               ItemIF item = null;
192: 
193:               pageSource = new PageSourceAJA();
194:               pageSource.setResouceName("ajasystem");
195:               //rSetPageSource = pageSource.getPageSource("info-a", false);
196:               rSetPageSource = pageSource.getPageSourceArtorMuseum("info-a", "info-m",  false);


An error occurred at line: 203 in the jsp file: /RssFeedArtorMuseum.jsp
RssChannelItem cannot be resolved to a type
200:               // ɽ��������楫����
201:               int outCount = 0;
202: 
203:               RssChannelItem rssChannelItem = null;
204:               RssDublinCore rssDublinCore = null;
205: 
206:               while (rSetPageSource.next()) {


An error occurred at line: 204 in the jsp file: /RssFeedArtorMuseum.jsp
RssDublinCore cannot be resolved to a type
201:               int outCount = 0;
202: 
203:               RssChannelItem rssChannelItem = null;
204:               RssDublinCore rssDublinCore = null;
205: 
206:               while (rSetPageSource.next()) {
207:                  // ����ɽ��������


An error occurred at line: 216 in the jsp file: /RssFeedArtorMuseum.jsp
HtmlTools cannot be resolved
213:                  URL url = null;
214: 
215: 				 if (rSetPageSource.getString("srcCode").equals("info-m")) {
216:                      url = new URL("http://" + request.getServerName() + HtmlTools.getURIPrefix(request) + "/../museum/topics/detail.jsp?id=" + rSetPageSource.getInt("srcid"));
217: 				  } else if (rSetPageSource.getString("srcCode").equals("info-a")) {
218:                      url = new URL("http://" + request.getServerName() + HtmlTools.getURIPrefix(request) + "/../art/topics/detail.jsp?id=" + rSetPageSource.getInt("srcid"));
219: 			     }


An error occurred at line: 218 in the jsp file: /RssFeedArtorMuseum.jsp
HtmlTools cannot be resolved
215: 				 if (rSetPageSource.getString("srcCode").equals("info-m")) {
216:                      url = new URL("http://" + request.getServerName() + HtmlTools.getURIPrefix(request) + "/../museum/topics/detail.jsp?id=" + rSetPageSource.getInt("srcid"));
217: 				  } else if (rSetPageSource.getString("srcCode").equals("info-a")) {
218:                      url = new URL("http://" + request.getServerName() + HtmlTools.getURIPrefix(request) + "/../art/topics/detail.jsp?id=" + rSetPageSource.getInt("srcid"));
219: 			     }
220: 
221:                  item = builder.createItem(


An error occurred at line: 244 in the jsp file: /RssFeedArtorMuseum.jsp
RSS_0_91_Exporter cannot be resolved to a type
241: 
242:               // RSS�ե����ɤ����
243:               if (RSSVer.equals("0.91")) {
244:                   RSS_0_91_Exporter writer =
245:                       new RSS_0_91_Exporter(response.getWriter(), "UTF-8");
246:                   writer.write(newChannel);
247:               }


An error occurred at line: 245 in the jsp file: /RssFeedArtorMuseum.jsp
RSS_0_91_Exporter cannot be resolved to a type
242:               // RSS�ե����ɤ����
243:               if (RSSVer.equals("0.91")) {
244:                   RSS_0_91_Exporter writer =
245:                       new RSS_0_91_Exporter(response.getWriter(), "UTF-8");
246:                   writer.write(newChannel);
247:               }
248:               else if (RSSVer.equals("1.0")) {


An error occurred at line: 249 in the jsp file: /RssFeedArtorMuseum.jsp
RSS_1_0_Exporter cannot be resolved to a type
246:                   writer.write(newChannel);
247:               }
248:               else if (RSSVer.equals("1.0")) {
249:                   RSS_1_0_Exporter writer =
250:                       new RSS_1_0_Exporter(response.getWriter(), "UTF-8");
251:                   writer.write(newChannel);
252:               }


An error occurred at line: 250 in the jsp file: /RssFeedArtorMuseum.jsp
RSS_1_0_Exporter cannot be resolved to a type
247:               }
248:               else if (RSSVer.equals("1.0")) {
249:                   RSS_1_0_Exporter writer =
250:                       new RSS_1_0_Exporter(response.getWriter(), "UTF-8");
251:                   writer.write(newChannel);
252:               }
253:               else if (RSSVer.equals("2.0")) {


An error occurred at line: 254 in the jsp file: /RssFeedArtorMuseum.jsp
RSS_2_0_Exporter cannot be resolved to a type
251:                   writer.write(newChannel);
252:               }
253:               else if (RSSVer.equals("2.0")) {
254:                   RSS_2_0_Exporter writer =
255:                       new RSS_2_0_Exporter(response.getWriter(), "UTF-8");
256:                   writer.write(newChannel);
257:               }


An error occurred at line: 255 in the jsp file: /RssFeedArtorMuseum.jsp
RSS_2_0_Exporter cannot be resolved to a type
252:               }
253:               else if (RSSVer.equals("2.0")) {
254:                   RSS_2_0_Exporter writer =
255:                       new RSS_2_0_Exporter(response.getWriter(), "UTF-8");
256:                   writer.write(newChannel);
257:               }
258: 


An error occurred at line: 264 in the jsp file: /RssFeedArtorMuseum.jsp
BadJspParameterException cannot be resolved to a type
261:               sqle1.printStackTrace();
262:               out.println("JSP ������Υǡ����١����㳰 [" + sqle1.getMessage() + "]");
263:               out.println("�����Ԥ�Ϣ���Ƥ���������");
264:         } catch (BadJspParameterException gae) {
265:               out.println("<br>");
266:               out.println(gae.getMessage() + "<br><br>");
267:               out.println("<a href=\"javascript:history.back()\">���</a>");


Stacktrace:
	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198)
	org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:363)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:338)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:325)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:580)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

note The full stack trace of the root cause is available in the logs.