Javax.servlet.jsp Cannot Be Resolved To A Type __TOP__
Click Here https://urlgoal.com/2t7W8n
This is a follow up to a question on accessing resources in jsp page of spring mvc appThanks to @kmb385 I was able to resolve that problem but now I get the following eclipse errors in my JSP filejavax.servlet.jsp.JspException cannot be resolved to a type and
No specific to your requirement, however you can refer below two documents which shows how you can call Rest calls through a jsp \\n \\nExport Webi Report using the Restful SDK \\nChanging Dataproviders for a Webi Report using RESTful Web Services \\n \\nThere are many more documents and blogs available at the below forum which would help you learn Restful webservices \\n \\nRESTful Web Services SDK \\n \\nFor any queries related to Rest you can also post to the above blog. \\n \\nThere are Restful webservice guides available at help.sap.com, you can refer those.\",\"author\":{\"username\":\"prithviraj.shekhawat2\",\"displayName\":\"Prithviraj Shekhawat\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false},\"parentAuthor\":{\"username\":\"former.member\",\"displayName\":\"Former Member\",\"groupIcons\":[],\"suspended\":true,\"isCurrentUser\":false},\"id\":12142420,\"creationDate\":1451547575000,\"activeRevisionId\":12485050,\"lastActivity\":1451547578000,\"parentId\":12142490,\"originalParentId\":12142212,\"likeCount\":0,\"visibility\":\"full\",\"depth\":0,\"attachments\":[],\"canVoteUpOrCancel\":false,\"relations\":{\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"isLiked\":false,\"type\":\"comment\",\"canVoteUpOrCancel\":false,\"canConvertToAnswer\":false,\"canBeModerated\":false,\"canViewRevisions\":false,\"showInReply\":false,\"reported\":false,\"canCancelReport\":false,\"canDelete\":false,\"canVoteDownOrCancel\":false,\"canComment\":false,\"canViewReports\":false,\"isCurrentUserAuthor\":false},\"liked\":false,\"moderatorComment\":false}]},\"12142314\":{\"rootParentId\":12142314,\"commentsCount\":1,\"comments\":[{\"body\":\"Thanks for the reply.This is the error trace - org.apache.jasper.JasperException: Unable to compile class for JSP:ReportEngineType cannot be resolved to a type40: ReportEngineType type1 = ReportEngines.ReportEngineType.WI_REPORT_ENGINE;41: ReportEngine reportEngine = (ReportEngine) reportEngines.getService(type1);Stacktrace:org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:331)org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:469)org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)javax.servlet.http.HttpServlet.service(HttpServlet.java:722)Yes i am using 4.1 jar files. I am running the JSP file from tomcat\\\\webapps\\\\AdminTools\\\\jspdir\\\\file.jspI copied all the jar files from JAVA\\\\lib and placed in the WEB-INF\\\\lib of webapps folder.Arun\",\"author\":{\"username\":\"former.member\",\"displayName\":\"Former Member\",\"groupIcons\":[],\"suspended\":true,\"isCurrentUser\":false},\"parentAuthor\":{\"username\":\"prithviraj.shekhawat2\",\"displayName\":\"Prithviraj Shekhawat\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false},\"id\":12142346,\"creationDate\":1451544974000,\"activeRevisionId\":12484985,\"lastActivity\":1451544976000,\"parentId\":12142314,\"originalParentId\":12142212,\"likeCount\":0,\"visibility\":\"full\",\"depth\":0,\"attachments\":[],\"canVoteUpOrCancel\":false,\"relations\":{\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"isLiked\":false,\"type\":\"comment\",\"canVoteUpOrCancel\":false,\"canConvertToAnswer\":false,\"canBeModerated\":false,\"canViewRevisions\":false,\"showInReply\":false,\"reported\":false,\"canCancelReport\":false,\"canDelete\":false,\"canVoteDownOrCancel\":false,\"canComment\":false,\"canViewReports\":false,\"isCurrentUserAuthor\":false},\"liked\":false,\"moderatorComment\":false}]}}"); const simplifiedQuestionView = JSON.parse("true"); (function() { window.pageContext = mergeDeep(pageContext, { question: { id: 12142212, plug: "reportenginetype-cannot-be-resolved-to-a-type", votes: 0, questionTitle: "ReportEngineType cannot be resolved to a type", isClosed: true, isLocked: false, isRedirected: false, redirectedFromTitle: "", redirectedFromId: "", closedStatusData: JSON.parse("{\"closedDate\":\"2021-06-28T12:43:10Z\",\"extraMessage\":\"The question is answered, right answer was accepted\",\"userName\":\"nantiporovich\",\"displayName\":\"Natalya Antiporovich\"}"), userVoted: false, relations: JSON.parse("{\"canClose\":false,\"canUnredirect\":false,\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"canReopen\":false,\"type\":\"question\",\"canVoteUpOrCancel\":false,\"canViewRevisions\":true,\"canUnlock\":false,\"reported\":false,\"closed\":true,\"canVoteDownOrCancel\":false,\"canLock\":false,\"canCancelReport\":false,\"canComment\":false,\"isCurrentUserAuthor\":false,\"canViewReports\":false}"), isQuestionAccepted: false }, childToViewInfo: { id: "" }, comments: JSON.parse("{\"12142412\":{\"rootParentId\":12142412,\"commentsCount\":10,\"comments\":[{\"body\":\"No specific to your requirement, however you can refer below two documents which shows how you can call Rest calls through a jsp \\n \\nExport Webi Report using the Restful SDK \\nChanging Dataproviders for a Webi Report using RESTful Web Services \\n \\nThere are many more documents and blogs available at the below forum which would help you learn Restful webservices \\n \\nRESTful Web Services SDK \\n \\nFor any queries related to Rest you can also post to the above blog. \\n \\nThere are Restful webservice guides available at help.sap.com, you can refer those.\",\"author\":{\"username\":\"prithviraj.shekhawat2\",\"displayName\":\"Prithviraj Shekhawat\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false},\"parentAuthor\":{\"username\":\"former.member\",\"displayName\":\"Former Member\",\"groupIcons\":[],\"suspended\":true,\"isCurrentUser\":false},\"id\":12142420,\"creationDate\":1451547575000,\"activeRevisionId\":12485050,\"lastActivity\":1451547578000,\"parentId\":12142490,\"originalParentId\":12142212,\"likeCount\":0,\"visibility\":\"full\",\"depth\":0,\"attachments\":[],\"canVoteUpOrCancel\":false,\"relations\":{\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"isLiked\":false,\"type\":\"comment\",\"canVoteUpOrCancel\":false,\"canConvertToAnswer\":false,\"canBeModerated\":false,\"canViewRevisions\":false,\"showInReply\":false,\"reported\":false,\"canCancelReport\":false,\"canDelete\":false,\"canVoteDownOrCancel\":false,\"canComment\":false,\"canViewReports\":false,\"isCurrentUserAuthor\":false},\"liked\":false,\"moderatorComment\":false}]},\"12142314\":{\"rootParentId\":12142314,\"commentsCount\":1,\"comments\":[{\"body\":\"Thanks for the reply.This is the error trace - org.apache.jasper.JasperException: Unable to compile class for JSP:ReportEngineType cannot be resolved to a type40: ReportEngineType type1 = ReportEngines.ReportEngineType.WI_REPORT_ENGINE;41: ReportEngine reportEngine = (ReportEngine) reportEngines.getService(type1);Stacktrace:org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:331)org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:469)org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)javax.servlet.http.HttpServlet.service(HttpServlet.java:722)Yes i am using 4.1 jar files. I am running the JSP file from tomcat\\\\webapps\\\\AdminTools\\\\jspdir\\\\file.jspI copied all the jar files from JAVA\\\\lib and placed in the WEB-INF\\\\lib of webapps folder.Arun\",\"author\":{\"username\":\"former.member\",\"displayName\":\"Former Member\",\"groupIcons\":[],\"suspended\":true,\"isCurrentUser\":false},\"parentAuthor\":{\"username\":\"prithviraj.shekhawat2\",\"displayName\":\"Prithviraj Shekhawat\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false},\"id\":12142346,\"creationDate\":1451544974000,\"activeRevisionId\":12484985,\"lastActivity\":1451544976000,\"parentId\":12142314,\"originalParentId\":12142212,\"likeCount\":0,\"visibility\":\"full\",\"depth\":0,\"attachments\":[],\"canVoteUpOrCancel\":false,\"relations\":{\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"isLiked\":false,\"type\":\"comment\",\"canVoteUpOrCancel\":false,\"canConvertToAnswer\":false,\"canBeModerated\":false,\"canViewRevisions\":false,\"showInReply\":false,\"reported\":false,\"canCancelReport\":false,\"canDelete\":false,\"canVoteDownOrCancel\":false,\"canComment\":false,\"canViewReports\":false,\"isCurrentUserAuthor\":false},\"liked\":false,\"moderatorComment\":false}]}}"), answerPager: { answersCount: 2, page: 1, pageSize: 10, pageCount: 1, sort: "votes" }, answers: JSON.parse("[{\"body\":\"What do you want to do with rebean SDK?\",\"author\":{\"username\":\"jeff.fu2\",\"displayName\":\"Jeff Fu\",\"groupIcons\":[{\"name\":\"employee\",\"title\":\"This user is an SAP Employee\",\"priority\":21}],\"suspended\":false,\"isCurrentUser\":false},\"id\":12142412,\"posted\":1451544938000,\"votes\":3,\"isAccepted\":false,\"isLocked\":false,\"userVoted\":\"\",\"relations\":{\"score\":3,\"canCancelAccept\":false,\"canUnlock\":false,\"canUseDelete\":false,\"canVoteDownOrCancel\":false,\"canLock\":false,\"canAccept\":false,\"type\":\"answer\",\"canVoteUpOrCancel\":false,\"isCurrentUserAuthor\":false},\"attachments\":[]},{\"body\":\"Please provide full error stacktrace.Make sure you are using jar files from 4.1 version and should not have any reference from any other version in the applications classpath.Thanks,Prithvi\",\"author\":{\"username\":\"prithviraj.shekhawat2\",\"displayName\":\"Prithviraj Shekhawat\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false},\"id\":12142314,\"posted\":1451544567000,\"votes\":0,\"isAccepted\":false,\"isLocked\":false,\"userVoted\":\"\",\"relations\":{\"canCancelAccept\":false,\"canUnlock\":false,\"canUseDelete\":false,\"canVoteDownOrCancel\":false,\"canLock\":false,\"canAccept\":false,\"type\":\"answer\",\"canVoteUpOrCancel\":false,\"isCurrentUserAuthor\":false},\"attachments\":[]}]"), answerForm: { formAction: "/answers/12142212/post.json", textareaName: "body", textareaErrors: "", isAttachmentsEnabled: true, answerEditorialGuideline: { title: "Before answering", content: "You should only submit an answer when you are proposing a solution to the poster\'s problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that your answer complies with our Rules of Engagement.", links: [ {title: "Rules of Engagement", href: " -of-engagement.html"}, ] }, answerMinBodyLength: '10', answerMaxBodyLength: '20000' }, currentUser: { sapInternalId: '', permissions: { canVoteUpOrCancel: false, canVoteDownOrCancel: false, canModerate: false, }, isVotedUp: false, isVotedDown: false }, alerts: { alertModeratorMinLength : "It should be given a proper explanation about why the content is inappropriate.", alertModeratorMinLengthValue : "10", alreadyReportedMessage : "You already have an active moderator alert for this content." }, url: { profileApiBaseUrl: ' -api.services.sap.com', followUnfollowQuestion: '/sap/nodeSubscription.json', isFollowingQuestion: '/sap/isFollowingNode.json', vote: { voteUp: '/commands/0/voteup.json', voteDown: '/commands/0/votedown.json', cancelVote: '/commands/0/cancelvote.json' }, rss: { answers: '/feed/12142212/answers.rss', answersAndComments: '/feed/12142212/comments-and-answers.rss' } }, authorizeUploadContext: { type: 'answer' }, atMention: { userSearchServiceUrl: ' ', currentUserName: '', useNewUSSCORS: true, atMentionDelayMs: 100, showMentionInRedactor: true }, attachmentSettings: { commentMaxAttachments: '2', answerMaxAttachments: '10', commentMaxAttachmentSizeBytes: '1048576', answerMaxAttachmentSizeBytes: '1048576', commentAttachmentsSizeBytesTotal: '2097152', answerAttachmentsSizeBytesTotal: '10485760' }, editor: { editorClipboardUploadEnabled: true } }) })(); Home Community Ask a Question Write a Blog Post Login / Sign-up Search Questions and Answers 0 Former Member Dec 31, 2015 at 05:08 AM ReportEngineType cannot be resolved to a type 152 Views Follow RSS Feed Hi, 2b1af7f3a8