Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Eclipse Web Tools Platform Project (WTP) » Eclipse not recognizing class in JSP(Cannot be resolved to a type error)
Eclipse not recognizing class in JSP [message #1751899] Mon, 16 January 2017 16:36
Sami Raad is currently offline Sami RaadFriend
Messages: 1
Registered: January 2017
Junior Member

This might be a known issue, but I was not able to find an answer to my problem after 2 hours of research.
I have a simple web-app, where I have a couple beans, and I want to use these beans in a JSP.
Instead of importing the beans directly in the different JSPs, I created a .jspf file where I imported all my beans.
In my web.xml file, I set this file as inlude-prelude.
For some reason, I am still seeing "Class X cannot be resolved to a type" error in my editor.
Even though I am able to compile and run my application on the server without any issues, I wanted to see if you have any idea how to remove this error Rolling Eyes
I am using eclipse Neon 2, Java 8_111 and tomcat 8.

Thank you for your help!

[Updated on: Tue, 17 January 2017 18:31]

Report message to a moderator

Previous Topic:Eclipse WSDL Editor: How to modify the Default WSDL Skeleton and Templates
Next Topic:is WTP "CBI source code" supported by M2E-Integration? is it possible to launch/debug?
Goto Forum:

Current Time: Sun Sep 20 05:05:11 GMT 2020

Powered by FUDForum. Page generated in 0.02315 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top